Color #2a2242
A muted very dark blue.
Conversions
#2a2242
rgb(42, 34, 66)
hsl(255, 32%, 19.6%)
hsv(255, 48.5%, 25.9%)
cmyk(36.4%, 48.5%, 0%, 74.1%)
lab(15.64, 12.51, -18.98)
lch(15.64, 22.73, 303.39)
oklch(27.8%, 0.0583, 293.79)
hwb(255, 13.3%, 74.1%)
Harmony colors
Accessibility
White text reads better on this background (14.94:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#27273c · ΔE 5.7
Deuteranopia
#27283a · ΔE 7.3
Tritanopia
#2a3735 · ΔE 21.7
Achromatopsia
#272727 · ΔE 16.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a2242;
bg-[#2a2242]
Related colors
Frequently asked questions
#2a2242 (#2a2242) is rgb(42, 34, 66) in RGB.
No, #2a2242 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 #2a2242, or check how it holds up for accessibility.