Color #051237
A vivid, highly saturated very dark blue.
Conversions
#051237
rgb(5, 18, 55)
hsl(224.4, 83.3%, 11.8%)
hsv(224.4, 90.9%, 21.6%)
cmyk(90.9%, 67.3%, 0%, 78.4%)
lab(6.69, 10.59, -25.69)
lch(6.69, 27.79, 292.4)
oklch(19.9%, 0.0749, 264.64)
hwb(224.4, 2%, 78.4%)
Harmony colors
Accessibility
White text reads better on this background (18.29:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#0b0c31 · ΔE 2.3
Deuteranopia
#0b092f · ΔE 2.8
Tritanopia
#062b2a · ΔE 24
Achromatopsia
#151515 · ΔE 17.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #051237;
bg-[#051237]
Related colors
Frequently asked questions
#051237 (#051237) is rgb(5, 18, 55) in RGB.
No, #051237 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 #051237, or check how it holds up for accessibility.