Color #2a6870
A moderately saturated dark cyan.
Conversions
#2a6870
rgb(42, 104, 112)
hsl(186.9, 45.5%, 30.2%)
hsv(186.9, 62.5%, 43.9%)
cmyk(62.5%, 7.1%, 0%, 56.1%)
lab(40.51, -17.14, -10.46)
lch(40.51, 20.08, 211.39)
oklch(48.1%, 0.0641, 206.88)
hwb(186.9, 16.5%, 56.1%)
Harmony colors
Accessibility
White text reads better on this background (6.34:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#4c4d6e · ΔE 23.8
Deuteranopia
#49446e · ΔE 26
Tritanopia
#2f6d6c · ΔE 4.6
Achromatopsia
#5f5f5f · ΔE 17
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #2a6870;
bg-[#2a6870]
Related colors
Frequently asked questions
#2a6870 (#2a6870) is rgb(42, 104, 112) in RGB.
No, #2a6870 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 #2a6870, or check how it holds up for accessibility.