Color #2a2d4b
A muted dark blue.
Conversions
#2a2d4b
rgb(42, 45, 75)
hsl(234.5, 28.2%, 22.9%)
hsv(234.5, 44%, 29.4%)
cmyk(44%, 40%, 0%, 70.6%)
lab(19.54, 7.62, -19)
lch(19.54, 20.47, 291.85)
oklch(30.9%, 0.0539, 278.43)
hwb(234.5, 16.5%, 70.6%)
Harmony colors
Accessibility
White text reads better on this background (13.33:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2b2b45 · ΔE 1.8
Deuteranopia
#2b2b44 · ΔE 2.1
Tritanopia
#2a403f · ΔE 20.5
Achromatopsia
#2f2f2f · ΔE 14.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a2d4b;
bg-[#2a2d4b]
Related colors
Frequently asked questions
#2a2d4b (#2a2d4b) is rgb(42, 45, 75) in RGB.
No, #2a2d4b 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 #2a2d4b, or check how it holds up for accessibility.