#287D8B#287D8B

#287D8B is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.6% C 0.081 H 210.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#287D8B
RGBrgb(40, 125, 139)
HSLhsl(188, 55%, 35%)
HSVhsv(188, 71%, 55%)
CMYKcmyk(71.2%, 10.1%, 0%, 45.5%)
CIE-LABlab(48.24, -20.15, -14.93)
CIE-LCHlch(48.24, 25.08, 216.54°)
OKLaboklab(54.59% -0.07 -0.0415)
OKLCHoklch(54.59% 0.081 210.7)
XYZxyz(12.8669, 16.9810, 27.0206)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D8B #8B3628
analogous
#288B68 #287D8B #284B8B
triadic
#287D8B #8B287D #7D8B28
tetradic
#287D8B #68288B #8B3628 #4B8B28
square
#287D8B #68288B #8B3628 #4B8B28
split-complementary
#287D8B #8B284B #8B6828
monochromatic
#0D282C #1A525B #287D8B #36A8BB #5DC0D0

Accessibility & contrast

On white

4.78
#287D8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#287D8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287D8B
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D8B#FFFFFF#000000##FFFFFF
##287D8B1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71788C
Deuteranopia (green-blind)
#636E8B
Tritanopia (blue-blind)
#008381
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #287d8b;
/* rgb */ color: rgb(40, 125, 139);
/* oklch */ color: oklch(54.6% 0.081 210.7);
Tailwind
colors: {
  custom: {
    50: '#70a3ac',
    500: '#287d8b',
    950: '#000000',
  },
}
SCSS
$custom: #287d8b;
$custom-light: #70a3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#287d8b",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 139
  },
  "hsl": {
    "h": 188.485,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5459,
    "c": 0.08139,
    "h": 210.7
  },
  "luminance": 0.16982
}

Semantic roles & 50–950 ramp

primary
#287D8B
secondary
#B66659
accent
#5E49DF
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #287D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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