Color #2a2248
A muted dark blue.
Conversions
#2a2248
rgb(42, 34, 72)
hsl(252.6, 35.8%, 20.8%)
hsv(252.6, 52.8%, 28.2%)
cmyk(41.7%, 52.8%, 0%, 71.8%)
lab(16.02, 14.46, -22.52)
lch(16.02, 26.76, 302.7)
oklch(28.2%, 0.0682, 291.07)
hwb(252.6, 13.3%, 71.8%)
Harmony colors
Accessibility
White text reads better on this background (14.78:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#272741 · ΔE 5.1
Deuteranopia
#27283f · ΔE 6.5
Tritanopia
#2a3b3a · ΔE 22.9
Achromatopsia
#282828 · ΔE 18.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a2248;
bg-[#2a2248]
Related colors
Frequently asked questions
#2a2248 (#2a2248) is rgb(42, 34, 72) in RGB.
No, #2a2248 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 #2a2248, or check how it holds up for accessibility.