Color #0d1228
A moderately saturated very dark blue.
Conversions
#0d1228
rgb(13, 18, 40)
hsl(228.9, 50.9%, 10.4%)
hsv(228.9, 67.5%, 15.7%)
cmyk(67.5%, 55%, 0%, 84.3%)
lab(6.06, 5.21, -15.56)
lch(6.06, 16.41, 288.51)
oklch(19.1%, 0.0451, 271.9)
hwb(228.9, 5.1%, 84.3%)
Harmony colors
Accessibility
White text reads better on this background (18.51:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#0f0f24 · ΔE 1.7
Deuteranopia
#0f0f23 · ΔE 1.9
Tritanopia
#0d201f · ΔE 17.8
Achromatopsia
#131313 · ΔE 12.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #0d1228;
bg-[#0d1228]
Related colors
Frequently asked questions
#0d1228 (#0d1228) is rgb(13, 18, 40) in RGB.
No, #0d1228 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 #0d1228, or check how it holds up for accessibility.