Color #05081f
A vivid, highly saturated very dark blue.
Conversions
#05081f
rgb(5, 8, 31)
hsl(233.1, 72.2%, 7.1%)
hsv(233.1, 83.9%, 12.2%)
cmyk(83.9%, 74.2%, 0%, 87.8%)
lab(2.75, 4.38, -13.77)
lch(2.75, 14.45, 287.64)
oklch(14.8%, 0.0492, 271.86)
hwb(233.1, 2%, 87.8%)
Harmony colors
Accessibility
White text reads better on this background (19.79:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#06061b · ΔE 1.7
Deuteranopia
#06061a · ΔE 2.1
Tritanopia
#051717 · ΔE 15
Achromatopsia
#0a0a0a · ΔE 11.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #05081f;
bg-[#05081f]
Related colors
Frequently asked questions
#05081f (#05081f) is rgb(5, 8, 31) in RGB.
No, #05081f 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 #05081f, or check how it holds up for accessibility.