Color #051e43
A vivid, highly saturated very dark blue.
Conversions
#051e43
rgb(5, 30, 67)
hsl(215.8, 86.1%, 14.1%)
hsv(215.8, 92.5%, 26.3%)
cmyk(92.5%, 55.2%, 0%, 73.7%)
lab(11.73, 6.99, -26.09)
lch(11.73, 27.01, 285)
oklch(24.1%, 0.0767, 258.27)
hwb(215.8, 2%, 73.7%)
Harmony colors
Accessibility
White text reads better on this background (16.49:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#13133c · ΔE 6.3
Deuteranopia
#110f3b · ΔE 7.2
Tritanopia
#073635 · ΔE 23.1
Achromatopsia
#1f1f1f · ΔE 17.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #051e43;
bg-[#051e43]
Related colors
Frequently asked questions
#051e43 (#051e43) is rgb(5, 30, 67) in RGB.
No, #051e43 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 #051e43, or check how it holds up for accessibility.