#0D47A1

#0D47A1 — Color Codes & Palette

#0D47A1  ·  rgb(13, 71, 161)  ·  hsl(216, 85%, 34%)

Color Codes

Format Value
HEX #0D47A1
RGB rgb(13, 71, 161)
HSL hsl(216, 85%, 34%)

Shades of #0D47A1

#0C4292#0B3B84#0A3576#082F68#07285A#06224B#051C3D#04152F

Tints of #0D47A1

#1057C1#1266E2#2B79EE#4C8EF0#6DA3F3#8EB7F6#AFCCF8#D0E1FB

Color Pairings & Harmony

Complementary
#A0650D
Analogous +30°
#1C0DA0
Analogous −30°
#0D92A0
Triadic +120°
#A00D48
Triadic −120°
#48A00D

Contrast & Accessibility (WCAG 2.1)

vs. White (#FFFFFF)
8.63:1 — AAA pass for normal text
vs. Black (#000000)
2.43:1 — Fail

CSS Snippet

.element {
  color: #0D47A1;
}

.element-bg {
  background-color: #0D47A1;
  color: #ffffff;
}

.element-border {
  border: 2px solid #0D47A1;
}

About #0D47A1

#0D47A1 is a dark color with vivid, highly saturated, defined by the hex code #0D47A1. Its exact color model values are rgb(13, 71, 161) in RGB and hsl(216, 85%, 34%) in HSL (hue 216°, saturation 85%, lightness 34%). On a white background the contrast ratio is 8.63:1 — AAA pass for normal text, and on black it is 2.43:1 — Fail. Use #0D47A1 for UI elements, backgrounds, text, borders, or decorative accents. The shades section below shows progressively darker variations, while the tints strip shows progressively lighter versions — both useful for building a tonal palette. The harmony swatches provide complementary, analogous, and triadic pairings based on the HSL hue wheel.

Want to explore this color interactively, generate palettes, or convert between color formats? The DevArbor Color Picker has you covered.

Open the Color Picker →

Frequently Asked Questions

What is the RGB value of #0D47A1?
The RGB value of #0D47A1 (#0D47A1) is rgb(13, 71, 161). Red = rgb(13, 71, 161), representing the amounts of red, green, and blue light on a 0–255 scale.
Is #0D47A1 accessible on a white background?
The contrast ratio of #0D47A1 on white (#FFFFFF) is 8.63:1 — AAA pass for normal text. On black (#000000) the contrast ratio is 2.43:1 — Fail. WCAG 2.1 requires 4.5:1 for AA (normal text) and 7:1 for AAA.
What colors pair well with #0D47A1?
Based on color theory, #0D47A1 (hsl(216, 85%, 34%)) pairs well with its complementary, analogous, and triadic hues. See the harmony swatches above for the exact hex values of each pairing type.