Color #2a204d
A moderately saturated dark blue.
Conversions
#2a204d
rgb(42, 32, 77)
hsl(253.3, 41.3%, 21.4%)
hsv(253.3, 58.4%, 30.2%)
cmyk(45.5%, 58.4%, 0%, 69.8%)
lab(15.8, 17.53, -26.3)
lch(15.8, 31.61, 303.69)
oklch(28.1%, 0.0798, 290.55)
hwb(253.3, 12.5%, 69.8%)
Harmony colors
Accessibility
White text reads better on this background (14.87:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#262645 · ΔE 5.1
Deuteranopia
#272743 · ΔE 6.1
Tritanopia
#2a3e3c · ΔE 24.6
Achromatopsia
#272727 · ΔE 19.9
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a204d;
bg-[#2a204d]
Related colors
Frequently asked questions
#2a204d (#2a204d) is rgb(42, 32, 77) in RGB.
No, #2a204d 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 #2a204d, or check how it holds up for accessibility.