Color #052168
A vivid, highly saturated dark blue.
Conversions
#052168
rgb(5, 33, 104)
hsl(223, 90.8%, 21.4%)
hsv(223, 95.2%, 40.8%)
cmyk(95.2%, 68.3%, 0%, 59.2%)
lab(16.1, 21.46, -43.99)
lch(16.1, 48.95, 296)
oklch(28.5%, 0.1283, 263.47)
hwb(223, 2%, 59.2%)
Harmony colors
Accessibility
White text reads better on this background (14.75:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#15155d · ΔE 4.6
Deuteranopia
#13115a · ΔE 5.5
Tritanopia
#075250 · ΔE 30.4
Achromatopsia
#282828 · ΔE 23.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #052168;
bg-[#052168]
Related colors
Frequently asked questions
#052168 (#052168) is rgb(5, 33, 104) in RGB.
No, #052168 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 #052168, or check how it holds up for accessibility.