Color #000c38
A vivid, highly saturated very dark blue.
Conversions
#000c38
rgb(0, 12, 56)
hsl(227.1, 100%, 11%)
hsv(227.1, 100%, 22%)
cmyk(100%, 78.6%, 0%, 78%)
lab(4.95, 13.27, -29.24)
lch(4.95, 32.11, 294.41)
oklch(18.2%, 0.0881, 262.57)
hwb(227.1, 0%, 78%)
Harmony colors
Accessibility
White text reads better on this background (18.92:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#050531 · ΔE 1.9
Deuteranopia
#05042f · ΔE 2.3
Tritanopia
#012b29 · ΔE 25.7
Achromatopsia
#111111 · ΔE 19.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #000c38;
bg-[#000c38]
Related colors
Frequently asked questions
#000c38 (#000c38) is rgb(0, 12, 56) in RGB.
No, #000c38 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 #000c38, or check how it holds up for accessibility.