#287E8B#287E8B

#287E8B is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.8% C 0.082 H 209.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#287E8B
RGBrgb(40, 126, 139)
HSLhsl(188, 55%, 35%)
HSVhsv(188, 71%, 55%)
CMYKcmyk(71.2%, 9.4%, 0%, 45.5%)
CIE-LABlab(48.56, -20.68, -14.45)
CIE-LCHlch(48.56, 25.23, 214.94°)
OKLaboklab(54.85% -0.0711 -0.0401)
OKLCHoklch(54.85% 0.082 209.5)
XYZxyz(12.9941, 17.2354, 27.0630)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287E8B #8B3528
analogous
#288B67 #287E8B #284C8B
triadic
#287E8B #8B287E #7E8B28
tetradic
#287E8B #67288B #8B3528 #4C8B28
square
#287E8B #67288B #8B3528 #4C8B28
split-complementary
#287E8B #8B284C #8B6728
monochromatic
#0D282C #1A535B #287E8B #36A9BB #5DC1D0

Accessibility & contrast

On white

4.72
#287E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#287E8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287E8B
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287E8B#FFFFFF#000000##FFFFFF
##287E8B1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73798C
Deuteranopia (green-blind)
#646F8B
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #287e8b;
/* rgb */ color: rgb(40, 126, 139);
/* oklch */ color: oklch(54.8% 0.082 209.5);
Tailwind
colors: {
  custom: {
    50: '#71a3ac',
    500: '#287e8b',
    950: '#000000',
  },
}
SCSS
$custom: #287e8b;
$custom-light: #71a3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#287e8b",
  "rgb": {
    "r": 40,
    "g": 126,
    "b": 139
  },
  "hsl": {
    "h": 187.879,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54847,
    "c": 0.08164,
    "h": 209.5
  },
  "luminance": 0.17237
}

Semantic roles & 50–950 ramp

primary
#287E8B
secondary
#B66559
accent
#5D49DF
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #287E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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