Color #0f2242
A moderately saturated very dark blue.
Conversions
#0f2242
rgb(15, 34, 66)
hsl(217.6, 63%, 15.9%)
hsv(217.6, 77.3%, 25.9%)
cmyk(77.3%, 48.5%, 0%, 74.1%)
lab(13.46, 5.08, -22.58)
lch(13.46, 23.14, 282.68)
oklch(25.6%, 0.0655, 260.15)
hwb(217.6, 5.9%, 74.1%)
Harmony colors
Accessibility
White text reads better on this background (15.82:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#19193c · ΔE 6.1
Deuteranopia
#18163a · ΔE 7
Tritanopia
#103735 · ΔE 21.8
Achromatopsia
#222222 · ΔE 15.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0f2242;
bg-[#0f2242]
Related colors
Frequently asked questions
#0f2242 (#0f2242) is rgb(15, 34, 66) in RGB.
No, #0f2242 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 #0f2242, or check how it holds up for accessibility.