Color #2a2d45
A muted dark blue.
Conversions
#2a2d45
rgb(42, 45, 69)
hsl(233.3, 24.3%, 21.8%)
hsv(233.3, 39.1%, 27.1%)
cmyk(39.1%, 34.8%, 0%, 72.9%)
lab(19.22, 5.63, -15.44)
lch(19.22, 16.43, 290.03)
oklch(30.6%, 0.0434, 278.07)
hwb(233.3, 16.5%, 72.9%)
Harmony colors
Accessibility
White text reads better on this background (13.46:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2b2b40 · ΔE 1.7
Deuteranopia
#2b2b3f · ΔE 2
Tritanopia
#2a3c3b · ΔE 17.8
Achromatopsia
#2f2f2f · ΔE 12.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a2d45;
bg-[#2a2d45]
Related colors
Frequently asked questions
#2a2d45 (#2a2d45) is rgb(42, 45, 69) in RGB.
No, #2a2d45 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 #2a2d45, or check how it holds up for accessibility.