Color #05217b
A vivid, highly saturated dark blue.
Conversions
#05217b
rgb(5, 33, 123)
hsl(225.8, 92.2%, 25.1%)
hsv(225.8, 95.9%, 48.2%)
cmyk(95.9%, 73.2%, 0%, 51.8%)
lab(18.14, 29.33, -52.91)
lch(18.14, 60.5, 299)
oklch(30.6%, 0.1543, 264.31)
hwb(225.8, 2%, 51.8%)
Harmony colors
Accessibility
White text reads better on this background (13.91:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#15156d · ΔE 4
Deuteranopia
#13116a · ΔE 4.9
Tritanopia
#07615e · ΔE 34.4
Achromatopsia
#2c2c2c · ΔE 25.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #05217b;
bg-[#05217b]
Related colors
Frequently asked questions
#05217b (#05217b) is rgb(5, 33, 123) in RGB.
No, #05217b 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 #05217b, or check how it holds up for accessibility.