#287F89#287F89

#287F89 is a mid, moderate teal. Relative luminance 0.174; OKLCH L 55.0% C 0.081 H 206.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#287F89
RGBrgb(40, 127, 137)
HSLhsl(186, 55%, 35%)
HSVhsv(186, 71%, 54%)
CMYKcmyk(70.8%, 7.3%, 0%, 46.3%)
CIE-LABlab(48.80, -21.85, -12.89)
CIE-LCHlch(48.80, 25.37, 210.54°)
OKLaboklab(55.02% -0.073 -0.0358)
OKLCHoklch(55.02% 0.081 206.1)
XYZxyz(12.9778, 17.4345, 26.3433)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287F89 #893228
analogous
#288963 #287F89 #284E89
triadic
#287F89 #89287F #7F8928
tetradic
#287F89 #632889 #893228 #4E8928
square
#287F89 #632889 #893228 #4E8928
split-complementary
#287F89 #89284E #896328
monochromatic
#0C272A #1A535A #287F89 #36ABB8 #5CC4CF

Accessibility & contrast

On white

4.68
#287F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#287F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287F89
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287F89#FFFFFF#000000##FFFFFF
##287F891.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747A8A
Deuteranopia (green-blind)
#667089
Tritanopia (blue-blind)
#008582
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #287f89;
/* rgb */ color: rgb(40, 127, 137);
/* oklch */ color: oklch(55.0% 0.081 206.1);
Tailwind
colors: {
  custom: {
    50: '#70a4ab',
    500: '#287f89',
    950: '#000000',
  },
}
SCSS
$custom: #287f89;
$custom-light: #70a4ab;
$custom-dark: #000000;
JSON
{
  "hex": "#287f89",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 137
  },
  "hsl": {
    "h": 186.186,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55023,
    "c": 0.08134,
    "h": 206.1
  },
  "luminance": 0.17436
}

Semantic roles & 50–950 ramp

primary
#287F89
secondary
#B56258
accent
#594ADE
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #287F89

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

Preview Lab → · Contrast checker → · Palette generator →

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