Color #2a6f7d
A moderately saturated dark cyan.
Conversions
#2a6f7d
rgb(42, 111, 125)
hsl(190.1, 49.7%, 32.7%)
hsv(190.1, 66.4%, 49%)
cmyk(66.4%, 11.2%, 0%, 51%)
lab(43.27, -16.8, -14.14)
lch(43.27, 21.96, 220.09)
oklch(50.4%, 0.0713, 213.44)
hwb(190.1, 16.5%, 51%)
Harmony colors
Accessibility
White text reads better on this background (5.72:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#51517a · ΔE 23.6
Deuteranopia
#4d4779 · ΔE 25.2
Tritanopia
#307777 · ΔE 7.1
Achromatopsia
#666666 · ΔE 17.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a6f7d;
bg-[#2a6f7d]
Related colors
Frequently asked questions
#2a6f7d (#2a6f7d) is rgb(42, 111, 125) in RGB.
No, #2a6f7d 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 #2a6f7d, or check how it holds up for accessibility.