#287E8D#287E8D

#287E8D is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.9% C 0.082 H 211.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#287E8D
RGBrgb(40, 126, 141)
HSLhsl(189, 56%, 35%)
HSVhsv(189, 72%, 55%)
CMYKcmyk(71.6%, 10.6%, 0%, 44.7%)
CIE-LABlab(48.63, -20.03, -15.51)
CIE-LCHlch(48.63, 25.33, 217.76°)
OKLaboklab(54.93% -0.0702 -0.0431)
OKLCHoklch(54.93% 0.082 211.6)
XYZxyz(13.1416, 17.2944, 27.8397)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287E8D #8D3728
analogous
#288D69 #287E8D #284B8D
triadic
#287E8D #8D287E #7E8D28
tetradic
#287E8D #69288D #8D3728 #4B8D28
square
#287E8D #69288D #8D3728 #4B8D28
split-complementary
#287E8D #8D284B #8D6928
monochromatic
#0D292E #1A535D #287E8D #36A9BD #5EC0D1

Accessibility & contrast

On white

4.71
#287E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#287E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287E8D
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287E8D#FFFFFF#000000##FFFFFF
##287E8D1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72798E
Deuteranopia (green-blind)
#646F8D
Tritanopia (blue-blind)
#008483
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #287e8d;
/* rgb */ color: rgb(40, 126, 141);
/* oklch */ color: oklch(54.9% 0.082 211.6);
Tailwind
colors: {
  custom: {
    50: '#71a3ae',
    500: '#287e8d',
    950: '#000000',
  },
}
SCSS
$custom: #287e8d;
$custom-light: #71a3ae;
$custom-dark: #000000;
JSON
{
  "hex": "#287e8d",
  "rgb": {
    "r": 40,
    "g": 126,
    "b": 141
  },
  "hsl": {
    "h": 188.911,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54931,
    "c": 0.08242,
    "h": 211.6
  },
  "luminance": 0.17296
}

Semantic roles & 50–950 ramp

primary
#287E8D
secondary
#B7685A
accent
#5F49DF
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #287E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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