#2A7E80#2A7E80

#2A7E80 is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.5% C 0.079 H 197.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2A7E80
RGBrgb(42, 126, 128)
HSLhsl(181, 51%, 33%)
HSVhsv(181, 67%, 50%)
CMYKcmyk(67.2%, 1.6%, 0%, 49.8%)
CIE-LABlab(48.22, -23.85, -8.46)
CIE-LCHlch(48.22, 25.30, 199.53°)
OKLaboklab(54.47% -0.075 -0.0235)
OKLCHoklch(54.47% 0.079 197.4)
XYZxyz(12.3103, 16.9711, 23.0449)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7E80 #802C2A
analogous
#2A8057 #2A7E80 #2A5380
triadic
#2A7E80 #802A7E #7E802A
tetradic
#2A7E80 #572A80 #802C2A #53802A
square
#2A7E80 #572A80 #802C2A #53802A
split-complementary
#2A7E80 #802A53 #80572A
monochromatic
#0C2324 #1B5152 #2A7E80 #39ABAE #5BC7C9

Accessibility & contrast

On white

4.78
#2A7E80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2A7E80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7E80
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7E80#FFFFFF#000000##FFFFFF
##2A7E801.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757880
Deuteranopia (green-blind)
#686E81
Tritanopia (blue-blind)
#00827E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a7e80;
/* rgb */ color: rgb(42, 126, 128);
/* oklch */ color: oklch(54.5% 0.079 197.4);
Tailwind
colors: {
  custom: {
    50: '#70a3a4',
    500: '#2a7e80',
    950: '#000000',
  },
}
SCSS
$custom: #2a7e80;
$custom-light: #70a3a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7e80",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 128
  },
  "hsl": {
    "h": 181.395,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54467,
    "c": 0.0786,
    "h": 197.4
  },
  "luminance": 0.16972
}

Semantic roles & 50–950 ramp

primary
#2A7E80
secondary
#AF5957
accent
#514EDA
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #2A7E80

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2A7E80 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva