#287987#287987

#287987 is a mid, moderate teal. Relative luminance 0.159; OKLCH L 53.4% C 0.079 H 211.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#287987
RGBrgb(40, 121, 135)
HSLhsl(189, 54%, 34%)
HSVhsv(189, 70%, 53%)
CMYKcmyk(70.4%, 10.4%, 0%, 47.1%)
CIE-LABlab(46.81, -19.31, -14.74)
CIE-LCHlch(46.81, 24.29, 217.35°)
OKLaboklab(53.39% -0.0674 -0.041)
OKLCHoklch(53.39% 0.079 211.3)
XYZxyz(12.0838, 15.8738, 25.3441)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287987 #873628
analogous
#288766 #287987 #284A87
triadic
#287987 #872879 #798728
tetradic
#287987 #662887 #873628 #4A8728
square
#287987 #662887 #873628 #4A8728
split-complementary
#287987 #87284A #876628
monochromatic
#0C2429 #1A4F58 #287987 #36A3B6 #5BBDCE

Accessibility & contrast

On white

5.03
#287987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#287987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287987
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287987#FFFFFF#000000##FFFFFF
##2879871.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7588
Deuteranopia (green-blind)
#606B87
Tritanopia (blue-blind)
#007F7D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #287987;
/* rgb */ color: rgb(40, 121, 135);
/* oklch */ color: oklch(53.4% 0.079 211.3);
Tailwind
colors: {
  custom: {
    50: '#70a0aa',
    500: '#287987',
    950: '#000000',
  },
}
SCSS
$custom: #287987;
$custom-light: #70a0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#287987",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 135
  },
  "hsl": {
    "h": 188.842,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5339,
    "c": 0.07889,
    "h": 211.3
  },
  "luminance": 0.15875
}

Semantic roles & 50–950 ramp

primary
#287987
secondary
#B46557
accent
#604ADE
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #287987

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

Preview Lab → · Contrast checker → · Palette generator →

#287987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva