#287D87#287D87

#287D87 is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.4% C 0.080 H 206.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#287D87
RGBrgb(40, 125, 135)
HSLhsl(186, 54%, 34%)
HSVhsv(186, 70%, 53%)
CMYKcmyk(70.4%, 7.4%, 0%, 47.1%)
CIE-LABlab(48.09, -21.44, -12.79)
CIE-LCHlch(48.09, 24.97, 210.82°)
OKLaboklab(54.43% -0.0718 -0.0355)
OKLCHoklch(54.43% 0.08 206.3)
XYZxyz(12.5800, 16.8662, 25.5095)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D87 #873228
analogous
#288762 #287D87 #284E87
triadic
#287D87 #87287D #7D8728
tetradic
#287D87 #622887 #873228 #4E8728
square
#287D87 #622887 #873228 #4E8728
split-complementary
#287D87 #87284E #876228
monochromatic
#0C2629 #1A5158 #287D87 #36A9B6 #5BC2CE

Accessibility & contrast

On white

4.80
#287D87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#287D87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287D87
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D87#FFFFFF#000000##FFFFFF
##287D871.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727888
Deuteranopia (green-blind)
#656E87
Tritanopia (blue-blind)
#008280
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #287d87;
/* rgb */ color: rgb(40, 125, 135);
/* oklch */ color: oklch(54.4% 0.080 206.3);
Tailwind
colors: {
  custom: {
    50: '#70a3aa',
    500: '#287d87',
    950: '#000000',
  },
}
SCSS
$custom: #287d87;
$custom-light: #70a3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#287d87",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 135
  },
  "hsl": {
    "h": 186.316,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54425,
    "c": 0.08008,
    "h": 206.3
  },
  "luminance": 0.16868
}

Semantic roles & 50–950 ramp

primary
#287D87
secondary
#B46157
accent
#5A4ADE
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #287D87

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

Preview Lab → · Contrast checker → · Palette generator →

#287D87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva