#2A8787#2A8787

#2A8787 is a mid, moderate teal. Relative luminance 0.196; OKLCH L 57.1% C 0.085 H 195.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2A8787
RGBrgb(42, 135, 135)
HSLhsl(180, 53%, 35%)
HSVhsv(180, 69%, 53%)
CMYKcmyk(68.9%, 0%, 0%, 47.1%)
CIE-LABlab(51.35, -26.29, -7.90)
CIE-LCHlch(51.35, 27.45, 196.73°)
OKLaboklab(57.07% -0.0816 -0.0219)
OKLCHoklch(57.07% 0.085 195)
XYZxyz(13.9900, 19.5679, 25.9566)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8787 #872A2A
analogous
#2A8759 #2A8787 #2A5987
triadic
#2A8787 #872A87 #87872A
tetradic
#2A8787 #592A87 #872A2A #59872A
square
#2A8787 #592A87 #872A2A #59872A
split-complementary
#2A8787 #872A59 #87592A
monochromatic
#0D2A2A #1B5858 #2A8787 #39B6B6 #5ECDCD

Accessibility & contrast

On white

4.27
#2A8787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#2A8787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8787
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8787#FFFFFF#000000##000000
##2A87871.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8087
Deuteranopia (green-blind)
#707688
Tritanopia (blue-blind)
#008B87
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2a8787;
/* rgb */ color: rgb(42, 135, 135);
/* oklch */ color: oklch(57.1% 0.085 195.0);
Tailwind
colors: {
  custom: {
    50: '#72aaa9',
    500: '#2a8787',
    950: '#000000',
  },
}
SCSS
$custom: #2a8787;
$custom-light: #72aaa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8787",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 135
  },
  "hsl": {
    "h": 180,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57071,
    "c": 0.08452,
    "h": 195
  },
  "luminance": 0.19569
}

Semantic roles & 50–950 ramp

primary
#2A8787
secondary
#B35A5A
accent
#4C4CDC
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #2A8787

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

Preview Lab → · Contrast checker → · Palette generator →

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