#287B87#287B87

#287B87 is a mid, moderate teal. Relative luminance 0.164; OKLCH L 53.9% C 0.079 H 208.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#287B87
RGBrgb(40, 123, 135)
HSLhsl(188, 54%, 34%)
HSVhsv(188, 70%, 53%)
CMYKcmyk(70.4%, 8.9%, 0%, 47.1%)
CIE-LABlab(47.45, -20.38, -13.76)
CIE-LCHlch(47.45, 24.60, 214.03°)
OKLaboklab(53.91% -0.0696 -0.0382)
OKLCHoklch(53.91% 0.079 208.8)
XYZxyz(12.3293, 16.3649, 25.4259)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287B87 #873428
analogous
#288764 #287B87 #284C87
triadic
#287B87 #87287B #7B8728
tetradic
#287B87 #642887 #873428 #4C8728
square
#287B87 #642887 #873428 #4C8728
split-complementary
#287B87 #87284C #876428
monochromatic
#0C2529 #1A5058 #287B87 #36A6B6 #5BC0CE

Accessibility & contrast

On white

4.91
#287B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#287B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287B87
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287B87#FFFFFF#000000##FFFFFF
##287B871.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707688
Deuteranopia (green-blind)
#626C87
Tritanopia (blue-blind)
#00817F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #287b87;
/* rgb */ color: rgb(40, 123, 135);
/* oklch */ color: oklch(53.9% 0.079 208.8);
Tailwind
colors: {
  custom: {
    50: '#70a1aa',
    500: '#287b87',
    950: '#000000',
  },
}
SCSS
$custom: #287b87;
$custom-light: #70a1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#287b87",
  "rgb": {
    "r": 40,
    "g": 123,
    "b": 135
  },
  "hsl": {
    "h": 187.579,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53907,
    "c": 0.07941,
    "h": 208.8
  },
  "luminance": 0.16366
}

Semantic roles & 50–950 ramp

primary
#287B87
secondary
#B46357
accent
#5D4ADE
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #287B87

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

Preview Lab → · Contrast checker → · Palette generator →

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