#287D8C#287D8C

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

Color values

HEX#287D8C
RGBrgb(40, 125, 140)
HSLhsl(189, 56%, 35%)
HSVhsv(189, 71%, 55%)
CMYKcmyk(71.4%, 10.7%, 0%, 45.1%)
CIE-LABlab(48.27, -19.82, -15.46)
CIE-LCHlch(48.27, 25.14, 217.96°)
OKLaboklab(54.63% -0.0696 -0.043)
OKLCHoklch(54.63% 0.082 211.7)
XYZxyz(12.9403, 17.0103, 27.4072)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D8C #8C3728
analogous
#288C69 #287D8C #284B8C
triadic
#287D8C #8C287D #7D8C28
tetradic
#287D8C #69288C #8C3728 #4B8C28
square
#287D8C #69288C #8C3728 #4B8C28
split-complementary
#287D8C #8C284B #8C6928
monochromatic
#0D282D #1A525C #287D8C #36A7BC #5EC0D1

Accessibility & contrast

On white

4.77
#287D8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #287D8C
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D8C#FFFFFF#000000##FFFFFF
##287D8C1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #287d8c;
/* rgb */ color: rgb(40, 125, 140);
/* oklch */ color: oklch(54.6% 0.082 211.7);
Tailwind
colors: {
  custom: {
    50: '#71a3ad',
    500: '#287d8c',
    950: '#000000',
  },
}
SCSS
$custom: #287d8c;
$custom-light: #71a3ad;
$custom-dark: #000000;
JSON
{
  "hex": "#287d8c",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 140
  },
  "hsl": {
    "h": 189,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54632,
    "c": 0.0818,
    "h": 211.7
  },
  "luminance": 0.17012
}

Semantic roles & 50–950 ramp

primary
#287D8C
secondary
#B6675A
accent
#5F49DF
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #287D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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