#2A8788#2A8788

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

Color values

HEX#2A8788
RGBrgb(42, 135, 136)
HSLhsl(181, 53%, 35%)
HSVhsv(181, 69%, 53%)
CMYKcmyk(69.1%, 0.7%, 0%, 46.7%)
CIE-LABlab(51.38, -25.98, -8.43)
CIE-LCHlch(51.38, 27.31, 197.98°)
OKLaboklab(57.11% -0.0812 -0.0234)
OKLCHoklch(57.11% 0.084 196.1)
XYZxyz(14.0608, 19.5962, 26.3292)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8788 #882B2A
analogous
#2A885A #2A8788 #2A5888
triadic
#2A8788 #882A87 #87882A
tetradic
#2A8788 #5A2A88 #882B2A #58882A
square
#2A8788 #5A2A88 #882B2A #58882A
split-complementary
#2A8788 #882A58 #885A2A
monochromatic
#0D2A2A #1C5959 #2A8788 #38B5B7 #5FCCCE

Accessibility & contrast

On white

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

On black

4.92
#2A8788 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8788
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8788#FFFFFF#000000##000000
##2A87881.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a8788;
/* rgb */ color: rgb(42, 135, 136);
/* oklch */ color: oklch(57.1% 0.084 196.1);
Tailwind
colors: {
  custom: {
    50: '#72aaaa',
    500: '#2a8788',
    950: '#000000',
  },
}
SCSS
$custom: #2a8788;
$custom-light: #72aaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8788",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 136
  },
  "hsl": {
    "h": 180.638,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57108,
    "c": 0.08447,
    "h": 196.1
  },
  "luminance": 0.19598
}

Semantic roles & 50–950 ramp

primary
#2A8788
secondary
#B35B5B
accent
#4D4CDC
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #2A8788

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

Preview Lab → · Contrast checker → · Palette generator →

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