Color #2a17b0
A vivid, highly saturated dark blue.
Conversions
#2a17b0
rgb(42, 23, 176)
hsl(247.5, 76.9%, 39%)
hsv(247.5, 86.9%, 69%)
cmyk(76.1%, 86.9%, 0%, 31%)
lab(24.45, 54.36, -75.16)
lch(24.45, 92.76, 305.88)
oklch(37.3%, 0.2177, 273.53)
hwb(247.5, 9%, 31%)
Harmony colors
Accessibility
White text reads better on this background (11.36:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#23239c · ΔE 3.6
Deuteranopia
#242596 · ΔE 4.6
Tritanopia
#298984 · ΔE 43.4
Achromatopsia
#3a3a3a · ΔE 30.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a17b0;
bg-[#2a17b0]
Related colors
Frequently asked questions
#2a17b0 (#2a17b0) is rgb(42, 23, 176) in RGB.
No, #2a17b0 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 #2a17b0, or check how it holds up for accessibility.