#287F8B#287F8B

#287F8B is a mid, moderate teal. Relative luminance 0.175; OKLCH L 55.1% C 0.082 H 208.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#287F8B
RGBrgb(40, 127, 139)
HSLhsl(187, 55%, 35%)
HSVhsv(187, 71%, 55%)
CMYKcmyk(71.2%, 8.6%, 0%, 45.5%)
CIE-LABlab(48.87, -21.21, -13.96)
CIE-LCHlch(48.87, 25.39, 213.36°)
OKLaboklab(55.1% -0.0722 -0.0388)
OKLCHoklch(55.1% 0.082 208.3)
XYZxyz(13.1226, 17.4924, 27.1059)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287F8B #8B3428
analogous
#288B66 #287F8B #284D8B
triadic
#287F8B #8B287F #7F8B28
tetradic
#287F8B #66288B #8B3428 #4D8B28
square
#287F8B #66288B #8B3428 #4D8B28
split-complementary
#287F8B #8B284D #8B6628
monochromatic
#0D282C #1A545B #287F8B #36AABB #5DC2D0

Accessibility & contrast

On white

4.67
#287F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#287F8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #287F8B
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287F8B#FFFFFF#000000##FFFFFF
##287F8B1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747A8C
Deuteranopia (green-blind)
#66708B
Tritanopia (blue-blind)
#008583
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #287f8b;
/* rgb */ color: rgb(40, 127, 139);
/* oklch */ color: oklch(55.1% 0.082 208.3);
Tailwind
colors: {
  custom: {
    50: '#71a4ac',
    500: '#287f8b',
    950: '#000000',
  },
}
SCSS
$custom: #287f8b;
$custom-light: #71a4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#287f8b",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 139
  },
  "hsl": {
    "h": 187.273,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55104,
    "c": 0.08193,
    "h": 208.3
  },
  "luminance": 0.17494
}

Semantic roles & 50–950 ramp

primary
#287F8B
secondary
#B66459
accent
#5B49DF
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #287F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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