Color #0c0f1e
A moderately saturated very dark blue.
Conversions
#0c0f1e
rgb(12, 15, 30)
hsl(230, 42.9%, 8.2%)
hsv(230, 60%, 11.8%)
cmyk(60%, 50%, 0%, 88.2%)
lab(4.64, 2.81, -10.1)
lch(4.64, 10.48, 285.55)
oklch(17.4%, 0.0315, 274.01)
hwb(230, 4.7%, 88.2%)
Harmony colors
Accessibility
White text reads better on this background (19.04:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#0d0d1b · ΔE 1.4
Deuteranopia
#0d0d1a · ΔE 1.8
Tritanopia
#0c1918 · ΔE 12.6
Achromatopsia
#101010 · ΔE 8.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0c0f1e;
bg-[#0c0f1e]
Related colors
Frequently asked questions
#0c0f1e (#0c0f1e) is rgb(12, 15, 30) in RGB.
No, #0c0f1e 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 #0c0f1e, or check how it holds up for accessibility.