#287E7D#287E7D

#287E7D is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.3% C 0.080 H 193.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#287E7D
RGBrgb(40, 126, 125)
HSLhsl(179, 52%, 33%)
HSVhsv(179, 68%, 49%)
CMYKcmyk(68.3%, 0%, 0.8%, 50.6%)
CIE-LABlab(48.07, -25.09, -6.92)
CIE-LCHlch(48.07, 26.03, 195.41°)
OKLaboklab(54.3% -0.0774 -0.0192)
OKLCHoklch(54.3% 0.08 193.9)
XYZxyz(12.0359, 16.8521, 22.0165)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287E7D #7E2829
analogous
#287E52 #287E7D #28547E
triadic
#287E7D #7D287E #7E7D28
tetradic
#287E7D #52287E #7E2829 #547E28
square
#287E7D #52287E #7E2829 #547E28
split-complementary
#287E7D #7E2854 #7E5228
monochromatic
#0B2121 #19504F #287E7D #37ACAB #57CAC8

Accessibility & contrast

On white

4.80
#287E7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#287E7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287E7D
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287E7D#FFFFFF#000000##FFFFFF
##287E7D1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76787D
Deuteranopia (green-blind)
#696E7E
Tritanopia (blue-blind)
#00827D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #287e7d;
/* rgb */ color: rgb(40, 126, 125);
/* oklch */ color: oklch(54.3% 0.080 193.9);
Tailwind
colors: {
  custom: {
    50: '#6fa4a2',
    500: '#287e7d',
    950: '#000000',
  },
}
SCSS
$custom: #287e7d;
$custom-light: #6fa4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#287e7d",
  "rgb": {
    "r": 40,
    "g": 126,
    "b": 125
  },
  "hsl": {
    "h": 179.302,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54297,
    "c": 0.0798,
    "h": 193.9
  },
  "luminance": 0.16853
}

Semantic roles & 50–950 ramp

primary
#287E7D
secondary
#AF5354
accent
#4D4EDB
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0F
muted
#7B7F7E

Preview Lab

Preview with #287E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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