Color #052456
A vivid, highly saturated very dark blue.
Conversions
#052456
rgb(5, 36, 86)
hsl(217, 89%, 17.8%)
hsv(217, 94.2%, 33.7%)
cmyk(94.2%, 58.1%, 0%, 66.3%)
lab(15.31, 11.19, -33.33)
lch(15.31, 35.16, 288.56)
oklch(27.4%, 0.0978, 259.75)
hwb(217, 2%, 66.3%)
Harmony colors
Accessibility
White text reads better on this background (15.07:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#17174d · ΔE 6.2
Deuteranopia
#15134b · ΔE 7.3
Tritanopia
#084644 · ΔE 26.2
Achromatopsia
#262626 · ΔE 20.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #052456;
bg-[#052456]
Related colors
Frequently asked questions
#052456 (#052456) is rgb(5, 36, 86) in RGB.
No, #052456 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 #052456, or check how it holds up for accessibility.