Color #051d3c
A vivid, highly saturated very dark blue.
Conversions
#051d3c
rgb(5, 29, 60)
hsl(213.8, 84.6%, 12.7%)
hsv(213.8, 91.7%, 23.5%)
cmyk(91.7%, 51.7%, 0%, 76.5%)
lab(10.83, 4.46, -22.6)
lch(10.83, 23.04, 281.16)
oklch(23.3%, 0.0668, 255.96)
hwb(213.8, 2%, 76.5%)
Harmony colors
Accessibility
White text reads better on this background (16.83:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#121236 · ΔE 7.2
Deuteranopia
#110f35 · ΔE 7.8
Tritanopia
#073130 · ΔE 21.1
Achromatopsia
#1d1d1d · ΔE 15.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #051d3c;
bg-[#051d3c]
Related colors
Frequently asked questions
#051d3c (#051d3c) is rgb(5, 29, 60) in RGB.
No, #051d3c 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 #051d3c, or check how it holds up for accessibility.