Color #2a5164
A moderately saturated dark cyan.
Conversions
#2a5164
rgb(42, 81, 100)
hsl(199.7, 40.8%, 27.8%)
hsv(199.7, 58%, 39.2%)
cmyk(58%, 19%, 0%, 60.8%)
lab(32.47, -7.7, -15.25)
lch(32.47, 17.08, 243.21)
oklch(41.5%, 0.0544, 231.19)
hwb(199.7, 16.5%, 60.8%)
Harmony colors
Accessibility
White text reads better on this background (8.54:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#3e3f60 · ΔE 16.8
Deuteranopia
#3c395f · ΔE 18.3
Tritanopia
#2d5c5c · ΔE 11.2
Achromatopsia
#4c4c4c · ΔE 13.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a5164;
bg-[#2a5164]
Related colors
Frequently asked questions
#2a5164 (#2a5164) is rgb(42, 81, 100) in RGB.
No, #2a5164 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 #2a5164, or check how it holds up for accessibility.