#27987E#27987E

#27987E is a mid, moderate teal. Relative luminance 0.244; OKLCH L 61.1% C 0.106 H 173.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#27987E
RGBrgb(39, 152, 126)
HSLhsl(166, 59%, 37%)
HSVhsv(166, 74%, 60%)
CMYKcmyk(74.3%, 0%, 17.1%, 40.4%)
CIE-LABlab(56.48, -37.32, 4.81)
CIE-LCHlch(56.48, 37.63, 172.66°)
OKLaboklab(61.15% -0.1053 0.0122)
OKLCHoklch(61.15% 0.106 173.4)
XYZxyz(15.8289, 24.3923, 23.6086)
Luminance0.2439 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27987E #982741
analogous
#279846 #27987E #277998
triadic
#27987E #7E2798 #987E27
tetradic
#27987E #462798 #982741 #799827
square
#27987E #462798 #982741 #799827
split-complementary
#27987E #982779 #984627
monochromatic
#0E372D #1B6756 #27987E #33C9A6 #63D7BC

Accessibility & contrast

On white

3.57
#27987E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#27987E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #27987E
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27987E#FFFFFF#000000##000000
##27987E1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938E7D
Deuteranopia (green-blind)
#848380
Tritanopia (blue-blind)
#009A90
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #27987e;
/* rgb */ color: rgb(39, 152, 126);
/* oklch */ color: oklch(61.1% 0.106 173.4);
Tailwind
colors: {
  custom: {
    50: '#73b7a3',
    500: '#27987e',
    950: '#000000',
  },
}
SCSS
$custom: #27987e;
$custom-light: #73b7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#27987e",
  "rgb": {
    "r": 39,
    "g": 152,
    "b": 126
  },
  "hsl": {
    "h": 166.195,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61148,
    "c": 0.10603,
    "h": 173.4
  },
  "luminance": 0.24394
}

Semantic roles & 50–950 ramp

primary
#27987E
secondary
#BC5E74
accent
#456AE2
background
#F7FBFA
surface
#EDF6F3
border
#C8D0CD
text
#09110F
muted
#7B807F

Preview Lab

Preview with #27987E

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

Preview Lab → · Contrast checker → · Palette generator →

#27987E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva