#27987B#27987B

#27987B is a mid, moderate teal. Relative luminance 0.243; OKLCH L 61.1% C 0.108 H 171.3°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#27987B
RGBrgb(39, 152, 123)
HSLhsl(165, 59%, 37%)
HSVhsv(165, 74%, 60%)
CMYKcmyk(74.3%, 0%, 19.1%, 40.4%)
CIE-LABlab(56.40, -38.10, 6.41)
CIE-LCHlch(56.40, 38.64, 170.45°)
OKLaboklab(61.06% -0.1068 0.0163)
OKLCHoklch(61.06% 0.108 171.3)
XYZxyz(15.6382, 24.3160, 22.6043)
Luminance0.2432 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27987B #982744
analogous
#279843 #27987B #277C98
triadic
#27987B #7B2798 #987B27
tetradic
#27987B #432798 #982744 #7C9827
square
#27987B #432798 #982744 #7C9827
split-complementary
#27987B #98277C #984327
monochromatic
#0E372C #1B6754 #27987B #33C9A2 #63D7B9

Accessibility & contrast

On white

3.58
#27987B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#27987B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #27987B
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27987B#FFFFFF#000000##000000
##27987B1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938E7A
Deuteranopia (green-blind)
#84837D
Tritanopia (blue-blind)
#009990
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #27987b;
/* rgb */ color: rgb(39, 152, 123);
/* oklch */ color: oklch(61.1% 0.108 171.3);
Tailwind
colors: {
  custom: {
    50: '#73b7a1',
    500: '#27987b',
    950: '#000000',
  },
}
SCSS
$custom: #27987b;
$custom-light: #73b7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#27987b",
  "rgb": {
    "r": 39,
    "g": 152,
    "b": 123
  },
  "hsl": {
    "h": 164.602,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61061,
    "c": 0.10804,
    "h": 171.3
  },
  "luminance": 0.24318
}

Semantic roles & 50–950 ramp

primary
#27987B
secondary
#BC5E77
accent
#456EE2
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #27987B

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

Preview Lab → · Contrast checker → · Palette generator →

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