Color #0c2047
A vivid, highly saturated very dark blue.
Conversions
#0c2047
rgb(12, 32, 71)
hsl(219.7, 71.1%, 16.3%)
hsv(219.7, 83.1%, 27.8%)
cmyk(83.1%, 54.9%, 0%, 72.2%)
lab(13.02, 8.31, -26.77)
lch(13.02, 28.03, 287.25)
oklch(25.3%, 0.0777, 262.01)
hwb(219.7, 4.7%, 72.2%)
Harmony colors
Accessibility
White text reads better on this background (15.99:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#171740 · ΔE 5.2
Deuteranopia
#15143e · ΔE 5.9
Tritanopia
#0e3a38 · ΔE 24.1
Achromatopsia
#222222 · ΔE 17.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0c2047;
bg-[#0c2047]
Related colors
Frequently asked questions
#0c2047 (#0c2047) is rgb(12, 32, 71) in RGB.
No, #0c2047 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #0c2047, or check how it holds up for accessibility.