#287F80#287F80

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

Color values

HEX#287F80
RGBrgb(40, 127, 128)
HSLhsl(181, 52%, 33%)
HSVhsv(181, 69%, 50%)
CMYKcmyk(68.8%, 0.8%, 0%, 49.8%)
CIE-LABlab(48.49, -24.69, -8.06)
CIE-LCHlch(48.49, 25.97, 198.08°)
OKLaboklab(54.67% -0.0771 -0.0224)
OKLCHoklch(54.67% 0.08 196.2)
XYZxyz(12.3590, 17.1870, 23.0840)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287F80 #802928
analogous
#288055 #287F80 #285380
triadic
#287F80 #80287F #7F8028
tetradic
#287F80 #552880 #802928 #538028
square
#287F80 #552880 #802928 #538028
split-complementary
#287F80 #802853 #805528
monochromatic
#0B2223 #195151 #287F80 #37ADAF #58C9CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287F80#FFFFFF#000000##FFFFFF
##287F801.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)
#767980
Deuteranopia (green-blind)
#696F81
Tritanopia (blue-blind)
#00837F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #287f80;
/* rgb */ color: rgb(40, 127, 128);
/* oklch */ color: oklch(54.7% 0.080 196.2);
Tailwind
colors: {
  custom: {
    50: '#6fa4a4',
    500: '#287f80',
    950: '#000000',
  },
}
SCSS
$custom: #287f80;
$custom-light: #6fa4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#287f80",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 128
  },
  "hsl": {
    "h": 180.682,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54671,
    "c": 0.08032,
    "h": 196.2
  },
  "luminance": 0.17188
}

Semantic roles & 50–950 ramp

primary
#287F80
secondary
#B05554
accent
#4E4CDC
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #287F80

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

Preview Lab → · Contrast checker → · Palette generator →

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