Color #0c3e97
A vivid, highly saturated dark blue.
Conversions
#0c3e97
rgb(12, 62, 151)
hsl(218.4, 85.3%, 32%)
hsv(218.4, 92.1%, 59.2%)
cmyk(92.1%, 58.9%, 0%, 40.8%)
lab(28.79, 21, -52.9)
lch(28.79, 56.92, 291.65)
oklch(39.4%, 0.1549, 261.2)
hwb(218.4, 4.7%, 40.8%)
Harmony colors
Accessibility
White text reads better on this background (9.76:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2a2a88 · ΔE 7.8
Deuteranopia
#272384 · ΔE 9.5
Tritanopia
#127a77 · ΔE 34.1
Achromatopsia
#444444 · ΔE 25.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0c3e97;
bg-[#0c3e97]
Related colors
Frequently asked questions
#0c3e97 (#0c3e97) is rgb(12, 62, 151) in RGB.
No, #0c3e97 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 #0c3e97, or check how it holds up for accessibility.