#287E8A#287E8A

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

Color values

HEX#287E8A
RGBrgb(40, 126, 138)
HSLhsl(187, 55%, 35%)
HSVhsv(187, 71%, 54%)
CMYKcmyk(71%, 8.7%, 0%, 45.9%)
CIE-LABlab(48.52, -21.00, -13.91)
CIE-LCHlch(48.52, 25.19, 213.52°)
OKLaboklab(54.81% -0.0715 -0.0386)
OKLCHoklch(54.81% 0.081 208.4)
XYZxyz(12.9214, 17.2063, 26.6800)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287E8A #8A3428
analogous
#288A65 #287E8A #284D8A
triadic
#287E8A #8A287E #7E8A28
tetradic
#287E8A #65288A #8A3428 #4D8A28
square
#287E8A #65288A #8A3428 #4D8A28
split-complementary
#287E8A #8A284D #8A6528
monochromatic
#0C272B #1A535B #287E8A #36A9B9 #5DC2D0

Accessibility & contrast

On white

4.73
#287E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#287E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287E8A
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287E8A#FFFFFF#000000##FFFFFF
##287E8A1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73798B
Deuteranopia (green-blind)
#656F8A
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #287e8a;
/* rgb */ color: rgb(40, 126, 138);
/* oklch */ color: oklch(54.8% 0.081 208.4);
Tailwind
colors: {
  custom: {
    50: '#70a3ac',
    500: '#287e8a',
    950: '#000000',
  },
}
SCSS
$custom: #287e8a;
$custom-light: #70a3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#287e8a",
  "rgb": {
    "r": 40,
    "g": 126,
    "b": 138
  },
  "hsl": {
    "h": 187.347,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54806,
    "c": 0.0813,
    "h": 208.4
  },
  "luminance": 0.17208
}

Semantic roles & 50–950 ramp

primary
#287E8A
secondary
#B56459
accent
#5C49DE
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #287E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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