Color #2a3559
A muted dark blue.
Conversions
#2a3559
rgb(42, 53, 89)
hsl(226, 35.9%, 25.7%)
hsv(226, 52.8%, 34.9%)
cmyk(52.8%, 40.4%, 0%, 65.1%)
lab(22.86, 6.86, -23.12)
lch(22.86, 24.12, 286.53)
oklch(33.7%, 0.0653, 269.82)
hwb(226, 16.5%, 65.1%)
Harmony colors
Accessibility
White text reads better on this background (11.99:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2f2f52 · ΔE 3.9
Deuteranopia
#2e2e50 · ΔE 4.1
Tritanopia
#2b4c4a · ΔE 22.4
Achromatopsia
#373737 · ΔE 16.1
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a3559;
bg-[#2a3559]
Related colors
Frequently asked questions
#2a3559 (#2a3559) is rgb(42, 53, 89) in RGB.
No, #2a3559 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 #2a3559, or check how it holds up for accessibility.