#287C8B#287C8B

#287C8B is a mid, moderate teal. Relative luminance 0.167; OKLCH L 54.3% C 0.081 H 211.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#287C8B
RGBrgb(40, 124, 139)
HSLhsl(189, 55%, 35%)
HSVhsv(189, 71%, 55%)
CMYKcmyk(71.2%, 10.8%, 0%, 45.5%)
CIE-LABlab(47.92, -19.61, -15.42)
CIE-LCHlch(47.92, 24.94, 218.17°)
OKLaboklab(54.33% -0.0689 -0.0429)
OKLCHoklch(54.33% 0.081 211.9)
XYZxyz(12.7409, 16.7290, 26.9786)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287C8B #8B3728
analogous
#288B68 #287C8B #284A8B
triadic
#287C8B #8B287C #7C8B28
tetradic
#287C8B #68288B #8B3728 #4A8B28
square
#287C8B #68288B #8B3728 #4A8B28
split-complementary
#287C8B #8B284A #8B6828
monochromatic
#0D272C #1A525B #287C8B #36A6BB #5DBFD0

Accessibility & contrast

On white

4.83
#287C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#287C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287C8B
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287C8B#FFFFFF#000000##FFFFFF
##287C8B1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70788C
Deuteranopia (green-blind)
#626D8B
Tritanopia (blue-blind)
#008281
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #287c8b;
/* rgb */ color: rgb(40, 124, 139);
/* oklch */ color: oklch(54.3% 0.081 211.9);
Tailwind
colors: {
  custom: {
    50: '#70a2ac',
    500: '#287c8b',
    950: '#000000',
  },
}
SCSS
$custom: #287c8b;
$custom-light: #70a2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#287c8b",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 139
  },
  "hsl": {
    "h": 189.091,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54332,
    "c": 0.08118,
    "h": 211.9
  },
  "luminance": 0.1673
}

Semantic roles & 50–950 ramp

primary
#287C8B
secondary
#B66759
accent
#6049DF
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #287C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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