Color #0f0f42
A moderately saturated very dark blue.
Conversions
#0f0f42
rgb(15, 15, 66)
hsl(240, 63%, 15.9%)
hsv(240, 77.3%, 25.9%)
cmyk(77.3%, 77.3%, 0%, 74.1%)
lab(7.56, 19.58, -32.15)
lch(7.56, 37.64, 301.34)
oklch(21.1%, 0.0932, 274.92)
hwb(240, 5.9%, 74.1%)
Harmony colors
Accessibility
White text reads better on this background (17.99:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#0f0f3a · ΔE 2.1
Deuteranopia
#0f0f38 · ΔE 2.7
Tritanopia
#0f3331 · ΔE 26.6
Achromatopsia
#171717 · ΔE 21.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0f0f42;
bg-[#0f0f42]
Related colors
Frequently asked questions
#0f0f42 (#0f0f42) is rgb(15, 15, 66) in RGB.
No, #0f0f42 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 #0f0f42, or check how it holds up for accessibility.