#287F87#287F87

#287F87 is a mid, moderate teal. Relative luminance 0.174; OKLCH L 54.9% C 0.081 H 203.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#287F87
RGBrgb(40, 127, 135)
HSLhsl(185, 54%, 34%)
HSVhsv(185, 70%, 53%)
CMYKcmyk(70.4%, 5.9%, 0%, 47.1%)
CIE-LABlab(48.73, -22.49, -11.82)
CIE-LCHlch(48.73, 25.41, 207.73°)
OKLaboklab(54.94% -0.0739 -0.0328)
OKLCHoklch(54.94% 0.081 203.9)
XYZxyz(12.8357, 17.3777, 25.5947)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287F87 #873028
analogous
#288760 #287F87 #285087
triadic
#287F87 #87287F #7F8728
tetradic
#287F87 #602887 #873028 #508728
square
#287F87 #602887 #873028 #508728
split-complementary
#287F87 #872850 #876028
monochromatic
#0C2629 #1A5358 #287F87 #36ABB6 #5BC5CE

Accessibility & contrast

On white

4.69
#287F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#287F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287F87
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287F87#FFFFFF#000000##FFFFFF
##287F871.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757A88
Deuteranopia (green-blind)
#676F87
Tritanopia (blue-blind)
#008481
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #287f87;
/* rgb */ color: rgb(40, 127, 135);
/* oklch */ color: oklch(54.9% 0.081 203.9);
Tailwind
colors: {
  custom: {
    50: '#70a4aa',
    500: '#287f87',
    950: '#000000',
  },
}
SCSS
$custom: #287f87;
$custom-light: #70a4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#287f87",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 135
  },
  "hsl": {
    "h": 185.053,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54943,
    "c": 0.08089,
    "h": 203.9
  },
  "luminance": 0.17379
}

Semantic roles & 50–950 ramp

primary
#287F87
secondary
#B45F57
accent
#574ADE
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #287F87

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

Preview Lab → · Contrast checker → · Palette generator →

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