#2A787A#2A787A

#2A787A is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.7% C 0.075 H 197.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2A787A
RGBrgb(42, 120, 122)
HSLhsl(182, 49%, 32%)
HSVhsv(182, 66%, 48%)
CMYKcmyk(65.6%, 1.6%, 0%, 52.2%)
CIE-LABlab(46.08, -22.59, -8.11)
CIE-LCHlch(46.08, 24.00, 199.74°)
OKLaboklab(52.67% -0.0711 -0.0225)
OKLCHoklch(52.67% 0.075 197.5)
XYZxyz(11.1826, 15.3291, 20.7781)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A787A #7A2C2A
analogous
#2A7A54 #2A787A #2A507A
triadic
#2A787A #7A2A78 #787A2A
tetradic
#2A787A #542A7A #7A2C2A #507A2A
square
#2A787A #542A7A #7A2C2A #507A2A
split-complementary
#2A787A #7A2A50 #7A542A
monochromatic
#0B1E1F #1A4B4C #2A787A #3AA5A8 #59C3C6

Accessibility & contrast

On white

5.16
#2A787A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2A787A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A787A
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A787A#FFFFFF#000000##FFFFFF
##2A787A1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70727A
Deuteranopia (green-blind)
#63697B
Tritanopia (blue-blind)
#007C78
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a787a;
/* rgb */ color: rgb(42, 120, 122);
/* oklch */ color: oklch(52.7% 0.075 197.5);
Tailwind
colors: {
  custom: {
    50: '#6f9fa0',
    500: '#2a787a',
    950: '#000000',
  },
}
SCSS
$custom: #2a787a;
$custom-light: #6f9fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a787a",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 122
  },
  "hsl": {
    "h": 181.5,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52667,
    "c": 0.07457,
    "h": 197.5
  },
  "luminance": 0.1533
}

Semantic roles & 50–950 ramp

primary
#2A787A
secondary
#AB5755
accent
#534FD8
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2A787A

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

Preview Lab → · Contrast checker → · Palette generator →

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