Color #000c1f
A vivid, highly saturated very dark blue.
Conversions
#000c1f
rgb(0, 12, 31)
hsl(216.8, 100%, 6.1%)
hsv(216.8, 100%, 12.2%)
cmyk(100%, 61.3%, 0%, 87.8%)
lab(3.27, 1.43, -13.02)
lch(3.27, 13.1, 276.27)
oklch(15.4%, 0.0469, 252.49)
hwb(216.8, 0%, 87.8%)
Harmony colors
Accessibility
White text reads better on this background (19.58:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#05051b · ΔE 4.2
Deuteranopia
#05041b · ΔE 4.6
Tritanopia
#011818 · ΔE 13.2
Achromatopsia
#0c0c0c · ΔE 10.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #000c1f;
bg-[#000c1f]
Related colors
Frequently asked questions
#000c1f (#000c1f) is rgb(0, 12, 31) in RGB.
No, #000c1f is not web-safe. The nearest web-safe colors are among its tones and shades below.
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 #000c1f, or check how it holds up for accessibility.