Color #0f0f8c
A vivid, highly saturated dark blue.
Conversions
#0f0f8c
rgb(15, 15, 140)
hsl(240, 80.6%, 30.4%)
hsv(240, 89.3%, 54.9%)
cmyk(89.3%, 89.3%, 0%, 45.1%)
lab(17.16, 45.65, -65.28)
lch(17.16, 79.66, 304.96)
oklch(30.6%, 0.1891, 267.67)
hwb(240, 5.9%, 45.1%)
Harmony colors
Accessibility
White text reads better on this background (14.31:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#0f0f7c · ΔE 2.3
Deuteranopia
#0f0f77 · ΔE 3.1
Tritanopia
#0f6c69 · ΔE 38.6
Achromatopsia
#2a2a2a · ΔE 28.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0f0f8c;
bg-[#0f0f8c]
Related colors
Frequently asked questions
#0f0f8c (#0f0f8c) is rgb(15, 15, 140) in RGB.
No, #0f0f8c 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 #0f0f8c, or check how it holds up for accessibility.