#2A8987#2A8987

#2A8987 is a mid, moderate teal. Relative luminance 0.201; OKLCH L 57.6% C 0.086 H 193.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2A8987
RGBrgb(42, 137, 135)
HSLhsl(179, 53%, 35%)
HSVhsv(179, 69%, 54%)
CMYKcmyk(69.3%, 0%, 1.5%, 46.3%)
CIE-LABlab(51.99, -27.28, -6.94)
CIE-LCHlch(51.99, 28.15, 194.28°)
OKLaboklab(57.59% -0.0838 -0.0193)
OKLCHoklch(57.59% 0.086 193)
XYZxyz(14.2717, 20.1312, 26.0505)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8987 #892A2C
analogous
#2A8958 #2A8987 #2A5B89
triadic
#2A8987 #872A89 #89872A
tetradic
#2A8987 #582A89 #892A2C #5B892A
square
#2A8987 #582A89 #892A2C #5B892A
split-complementary
#2A8987 #892A5B #89582A
monochromatic
#0D2B2B #1C5A59 #2A8987 #38B8B5 #5FCECC

Accessibility & contrast

On white

4.18
#2A8987 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#2A8987 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8987
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8987#FFFFFF#000000##000000
##2A89871.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#808287
Deuteranopia (green-blind)
#727888
Tritanopia (blue-blind)
#008D88
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a8987;
/* rgb */ color: rgb(42, 137, 135);
/* oklch */ color: oklch(57.6% 0.086 193.0);
Tailwind
colors: {
  custom: {
    50: '#72aca9',
    500: '#2a8987',
    950: '#000000',
  },
}
SCSS
$custom: #2a8987;
$custom-light: #72aca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8987",
  "rgb": {
    "r": 42,
    "g": 137,
    "b": 135
  },
  "hsl": {
    "h": 178.737,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5759,
    "c": 0.08598,
    "h": 193
  },
  "luminance": 0.20133
}

Semantic roles & 50–950 ramp

primary
#2A8987
secondary
#B45B5D
accent
#4B4EDC
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #2A8987

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

Preview Lab → · Contrast checker → · Palette generator →

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