#2A8795#2A8795

#2A8795 is a mid, moderate teal. Relative luminance 0.200; OKLCH L 57.6% C 0.087 H 209.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2A8795
RGBrgb(42, 135, 149)
HSLhsl(188, 56%, 37%)
HSVhsv(188, 72%, 58%)
CMYKcmyk(71.8%, 9.4%, 0%, 41.6%)
CIE-LABlab(51.82, -21.90, -15.33)
CIE-LCHlch(51.82, 26.73, 214.99°)
OKLaboklab(57.62% -0.0753 -0.0426)
OKLCHoklch(57.62% 0.087 209.5)
XYZxyz(15.0413, 19.9884, 31.4934)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8795 #95382A
analogous
#2A956D #2A8795 #2A5295
triadic
#2A8795 #952A87 #87952A
tetradic
#2A8795 #6D2A95 #95382A #52952A
square
#2A8795 #6D2A95 #95382A #52952A
split-complementary
#2A8795 #952A52 #956D2A
monochromatic
#0F3036 #1D5C65 #2A8795 #37B2C5 #66C5D4

Accessibility & contrast

On white

4.20
#2A8795 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#2A8795 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8795
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8795#FFFFFF#000000##000000
##2A87951.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8296
Deuteranopia (green-blind)
#6C7795
Tritanopia (blue-blind)
#008D8B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a8795;
/* rgb */ color: rgb(42, 135, 149);
/* oklch */ color: oklch(57.6% 0.087 209.5);
Tailwind
colors: {
  custom: {
    50: '#74aab4',
    500: '#2a8795',
    950: '#000000',
  },
}
SCSS
$custom: #2a8795;
$custom-light: #74aab4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8795",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 149
  },
  "hsl": {
    "h": 187.85,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57617,
    "c": 0.08657,
    "h": 209.5
  },
  "luminance": 0.1999
}

Semantic roles & 50–950 ramp

primary
#2A8795
secondary
#BA6D61
accent
#5C48DF
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #2A8795

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

Preview Lab → · Contrast checker → · Palette generator →

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