Color #0f0c17
A muted very dark blue.
Conversions
#0f0c17
rgb(15, 12, 23)
hsl(256.4, 31.4%, 6.9%)
hsv(256.4, 47.8%, 9%)
cmyk(34.8%, 47.8%, 0%, 91%)
lab(3.85, 3.19, -5.77)
lch(3.85, 6.59, 298.94)
oklch(16.4%, 0.0232, 296.34)
hwb(256.4, 4.7%, 91%)
Harmony colors
Accessibility
White text reads better on this background (19.35:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#0e0e15 · ΔE 2.6
Deuteranopia
#0e0e14 · ΔE 3.2
Tritanopia
#0f1312 · ΔE 8.3
Achromatopsia
#0e0e0e · ΔE 6.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0f0c17;
bg-[#0f0c17]
Related colors
Frequently asked questions
#0f0c17 (#0f0c17) is rgb(15, 12, 23) in RGB.
No, #0f0c17 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 #0f0c17, or check how it holds up for accessibility.