#2A7D7B#2A7D7B

#2A7D7B is a mid, moderate teal. Relative luminance 0.166; OKLCH L 54.0% C 0.078 H 192.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2A7D7B
RGBrgb(42, 125, 123)
HSLhsl(179, 50%, 33%)
HSVhsv(179, 66%, 49%)
CMYKcmyk(66.4%, 0%, 1.6%, 51%)
CIE-LABlab(47.74, -24.86, -6.23)
CIE-LCHlch(47.74, 25.63, 194.07°)
OKLaboklab(54.02% -0.0762 -0.0173)
OKLCHoklch(54.02% 0.078 192.8)
XYZxyz(11.8620, 16.5882, 21.3117)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7D7B #7D2A2C
analogous
#2A7D51 #2A7D7B #2A567D
triadic
#2A7D7B #7B2A7D #7D7B2A
tetradic
#2A7D7B #512A7D #7D2A2C #567D2A
square
#2A7D7B #512A7D #7D2A2C #567D2A
split-complementary
#2A7D7B #7D2A56 #7D512A
monochromatic
#0B2121 #1B4F4E #2A7D7B #39ABA8 #5AC8C5

Accessibility & contrast

On white

4.86
#2A7D7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2A7D7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7D7B
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7D7B#FFFFFF#000000##FFFFFF
##2A7D7B1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75777B
Deuteranopia (green-blind)
#696D7C
Tritanopia (blue-blind)
#00817C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a7d7b;
/* rgb */ color: rgb(42, 125, 123);
/* oklch */ color: oklch(54.0% 0.078 192.8);
Tailwind
colors: {
  custom: {
    50: '#70a3a1',
    500: '#2a7d7b',
    950: '#000000',
  },
}
SCSS
$custom: #2a7d7b;
$custom-light: #70a3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7d7b",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 123
  },
  "hsl": {
    "h": 178.554,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54018,
    "c": 0.07819,
    "h": 192.8
  },
  "luminance": 0.1659
}

Semantic roles & 50–950 ramp

primary
#2A7D7B
secondary
#AD5658
accent
#4F52D9
background
#F7FAF9
surface
#EDF3F2
border
#C8CDCC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2A7D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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