Color #0c1939
A moderately saturated very dark blue.
Conversions
#0c1939
rgb(12, 25, 57)
hsl(222.7, 65.2%, 13.5%)
hsv(222.7, 78.9%, 22.4%)
cmyk(78.9%, 56.1%, 0%, 77.6%)
lab(9.55, 7.49, -22.49)
lch(9.55, 23.7, 288.42)
oklch(22.3%, 0.0648, 264.95)
hwb(222.7, 4.7%, 77.6%)
Harmony colors
Accessibility
White text reads better on this background (17.3:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#131333 · ΔE 4
Deuteranopia
#121132 · ΔE 4.4
Tritanopia
#0d2e2d · ΔE 22.2
Achromatopsia
#1b1b1b · ΔE 16
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0c1939;
bg-[#0c1939]
Related colors
Frequently asked questions
#0c1939 (#0c1939) is rgb(12, 25, 57) in RGB.
No, #0c1939 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 #0c1939, or check how it holds up for accessibility.