Color #0f0f28
A moderately saturated very dark blue.
Conversions
#0f0f28
rgb(15, 15, 40)
hsl(240, 45.5%, 10.8%)
hsv(240, 62.5%, 15.7%)
cmyk(62.5%, 62.5%, 0%, 84.3%)
lab(5.39, 7.53, -16.61)
lch(5.39, 18.24, 294.39)
oklch(18.5%, 0.0498, 280.41)
hwb(240, 5.9%, 84.3%)
Harmony colors
Accessibility
White text reads better on this background (18.76:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#0f0f24 · ΔE 1.9
Deuteranopia
#0f0f22 · ΔE 3
Tritanopia
#0f201f · ΔE 19.4
Achromatopsia
#121212 · ΔE 13.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0f0f28;
bg-[#0f0f28]
Related colors
Frequently asked questions
#0f0f28 (#0f0f28) is rgb(15, 15, 40) in RGB.
No, #0f0f28 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 #0f0f28, or check how it holds up for accessibility.