Color #2a355f
A muted dark blue.
Conversions
#2a355f
rgb(42, 53, 95)
hsl(227.5, 38.7%, 26.9%)
hsv(227.5, 55.8%, 37.3%)
cmyk(55.8%, 44.2%, 0%, 62.7%)
lab(23.22, 9.02, -26.49)
lch(23.22, 27.98, 288.8)
oklch(34.1%, 0.0751, 270.92)
hwb(227.5, 16.5%, 62.7%)
Harmony colors
Accessibility
White text reads better on this background (11.84:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#2f2f57 · ΔE 3.6
Deuteranopia
#2e2e55 · ΔE 3.9
Tritanopia
#2b504e · ΔE 24
Achromatopsia
#373737 · ΔE 17.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a355f;
bg-[#2a355f]
Related colors
Frequently asked questions
#2a355f (#2a355f) is rgb(42, 53, 95) in RGB.
No, #2a355f 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 #2a355f, or check how it holds up for accessibility.