#287B8A#287B8A

#287B8A is a mid, moderate teal. Relative luminance 0.165; OKLCH L 54.0% C 0.081 H 212.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#287B8A
RGBrgb(40, 123, 138)
HSLhsl(189, 55%, 35%)
HSVhsv(189, 71%, 54%)
CMYKcmyk(71%, 10.9%, 0%, 45.9%)
CIE-LABlab(47.56, -19.40, -15.37)
CIE-LCHlch(47.56, 24.75, 218.38°)
OKLaboklab(54.03% -0.0683 -0.0428)
OKLCHoklch(54.03% 0.081 212)
XYZxyz(12.5435, 16.4506, 26.5540)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287B8A #8A3728
analogous
#288A68 #287B8A #284A8A
triadic
#287B8A #8A287B #7B8A28
tetradic
#287B8A #68288A #8A3728 #4A8A28
square
#287B8A #68288A #8A3728 #4A8A28
split-complementary
#287B8A #8A284A #8A6828
monochromatic
#0C262B #1A515B #287B8A #36A5B9 #5DBED0

Accessibility & contrast

On white

4.89
#287B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#287B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287B8A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287B8A#FFFFFF#000000##FFFFFF
##287B8A1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F778B
Deuteranopia (green-blind)
#616C8A
Tritanopia (blue-blind)
#008180
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #287b8a;
/* rgb */ color: rgb(40, 123, 138);
/* oklch */ color: oklch(54.0% 0.081 212.0);
Tailwind
colors: {
  custom: {
    50: '#70a1ac',
    500: '#287b8a',
    950: '#000000',
  },
}
SCSS
$custom: #287b8a;
$custom-light: #70a1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#287b8a",
  "rgb": {
    "r": 40,
    "g": 123,
    "b": 138
  },
  "hsl": {
    "h": 189.184,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54033,
    "c": 0.08057,
    "h": 212
  },
  "luminance": 0.16452
}

Semantic roles & 50–950 ramp

primary
#287B8A
secondary
#B56759
accent
#6049DE
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #287B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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