#287E8E#287E8E

#287E8E is a mid, moderate teal. Relative luminance 0.173; OKLCH L 55.0% C 0.083 H 212.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#287E8E
RGBrgb(40, 126, 142)
HSLhsl(189, 56%, 36%)
HSVhsv(189, 72%, 56%)
CMYKcmyk(71.8%, 11.3%, 0%, 44.3%)
CIE-LABlab(48.67, -19.70, -16.04)
CIE-LCHlch(48.67, 25.40, 219.16°)
OKLaboklab(54.97% -0.0698 -0.0446)
OKLCHoklch(54.97% 0.083 212.6)
XYZxyz(13.2163, 17.3243, 28.2333)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287E8E #8E3828
analogous
#288E6B #287E8E #284B8E
triadic
#287E8E #8E287E #7E8E28
tetradic
#287E8E #6B288E #8E3828 #4B8E28
square
#287E8E #6B288E #8E3828 #4B8E28
split-complementary
#287E8E #8E284B #8E6B28
monochromatic
#0D292F #1B545E #287E8E #35A8BE #5FC0D2

Accessibility & contrast

On white

4.70
#287E8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#287E8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287E8E
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287E8E#FFFFFF#000000##FFFFFF
##287E8E1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727A8F
Deuteranopia (green-blind)
#636F8E
Tritanopia (blue-blind)
#008483
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #287e8e;
/* rgb */ color: rgb(40, 126, 142);
/* oklch */ color: oklch(55.0% 0.083 212.6);
Tailwind
colors: {
  custom: {
    50: '#71a3af',
    500: '#287e8e',
    950: '#000000',
  },
}
SCSS
$custom: #287e8e;
$custom-light: #71a3af;
$custom-dark: #000000;
JSON
{
  "hex": "#287e8e",
  "rgb": {
    "r": 40,
    "g": 126,
    "b": 142
  },
  "hsl": {
    "h": 189.412,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.54973,
    "c": 0.08284,
    "h": 212.6
  },
  "luminance": 0.17326
}

Semantic roles & 50–950 ramp

primary
#287E8E
secondary
#B7695B
accent
#6048DF
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #287E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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