#287D8D#287D8D

#287D8D is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.7% C 0.082 H 212.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#287D8D
RGBrgb(40, 125, 141)
HSLhsl(190, 56%, 35%)
HSVhsv(190, 72%, 55%)
CMYKcmyk(71.6%, 11.3%, 0%, 44.7%)
CIE-LABlab(48.31, -19.49, -16.00)
CIE-LCHlch(48.31, 25.21, 219.38°)
OKLaboklab(54.67% -0.0691 -0.0445)
OKLCHoklch(54.67% 0.082 212.8)
XYZxyz(13.0144, 17.0399, 27.7973)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D8D #8D3828
analogous
#288D6A #287D8D #284A8D
triadic
#287D8D #8D287D #7D8D28
tetradic
#287D8D #6A288D #8D3828 #4A8D28
square
#287D8D #6A288D #8D3828 #4A8D28
split-complementary
#287D8D #8D284A #8D6A28
monochromatic
#0D282E #1A535D #287D8D #36A7BD #5EBFD1

Accessibility & contrast

On white

4.76
#287D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#287D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287D8D
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D8D#FFFFFF#000000##FFFFFF
##287D8D1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71798E
Deuteranopia (green-blind)
#636E8D
Tritanopia (blue-blind)
#008382
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #287d8d;
/* rgb */ color: rgb(40, 125, 141);
/* oklch */ color: oklch(54.7% 0.082 212.8);
Tailwind
colors: {
  custom: {
    50: '#71a3ae',
    500: '#287d8d',
    950: '#000000',
  },
}
SCSS
$custom: #287d8d;
$custom-light: #71a3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#287d8d",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 141
  },
  "hsl": {
    "h": 189.505,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54674,
    "c": 0.08224,
    "h": 212.8
  },
  "luminance": 0.17041
}

Semantic roles & 50–950 ramp

primary
#287D8D
secondary
#B7695A
accent
#6149DF
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #287D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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