Color #2c204b
A moderately saturated dark blue.
Conversions
#2c204b
rgb(44, 32, 75)
hsl(256.7, 40.2%, 21%)
hsv(256.7, 57.3%, 29.4%)
cmyk(41.3%, 57.3%, 0%, 70.6%)
lab(15.88, 17.45, -24.79)
lch(15.88, 30.32, 305.14)
oklch(28.2%, 0.0767, 293.76)
hwb(256.7, 12.5%, 70.6%)
Harmony colors
Accessibility
White text reads better on this background (14.84:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#272743 · ΔE 6.1
Deuteranopia
#282941 · ΔE 7.8
Tritanopia
#2b3d3b · ΔE 24.3
Achromatopsia
#282828 · ΔE 19.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2c204b;
bg-[#2c204b]
Related colors
Frequently asked questions
#2c204b (#2c204b) is rgb(44, 32, 75) in RGB.
No, #2c204b 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 #2c204b, or check how it holds up for accessibility.