Color #0c0c0f
A nearly neutral, gray-leaning very dark blue.
Conversions
#0c0c0f
rgb(12, 12, 15)
hsl(240, 11.1%, 5.3%)
hsv(240, 20%, 5.9%)
cmyk(20%, 20%, 0%, 94.1%)
lab(3.39, 0.5, -1.37)
lch(3.39, 1.46, 290.05)
oklch(15.6%, 0.0063, 285.57)
hwb(240, 4.7%, 94.1%)
Harmony colors
Accessibility
White text reads better on this background (19.53:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#0c0c0e · ΔE 0.5
Deuteranopia
#0c0c0e · ΔE 0.5
Tritanopia
#0c0e0e · ΔE 2
Achromatopsia
#0c0c0c · ΔE 1.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0c0c0f;
bg-[#0c0c0f]
Related colors
Frequently asked questions
#0c0c0f (#0c0c0f) is rgb(12, 12, 15) in RGB.
No, #0c0c0f 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 #0c0c0f, or check how it holds up for accessibility.