#287F77#287F77

#287F77 is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.3% C 0.082 H 186.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#287F77
RGBrgb(40, 127, 119)
HSLhsl(174, 52%, 33%)
HSVhsv(174, 69%, 50%)
CMYKcmyk(68.5%, 0%, 6.3%, 50.2%)
CIE-LABlab(48.21, -27.39, -3.17)
CIE-LCHlch(48.21, 27.57, 186.61°)
OKLaboklab(54.35% -0.0814 -0.009)
OKLCHoklch(54.35% 0.082 186.3)
XYZxyz(11.7927, 16.9604, 20.1014)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287F77 #7F2830
analogous
#287F4C #287F77 #285B7F
triadic
#287F77 #77287F #7F7728
tetradic
#287F77 #4C287F #7F2830 #5B7F28
square
#287F77 #4C287F #7F2830 #5B7F28
split-complementary
#287F77 #7F285B #7F4C28
monochromatic
#0B2220 #19504B #287F77 #37AEA3 #57CAC0

Accessibility & contrast

On white

4.78
#287F77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#287F77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287F77
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287F77#FFFFFF#000000##FFFFFF
##287F771.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787877
Deuteranopia (green-blind)
#6B6E78
Tritanopia (blue-blind)
#00827C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #287f77;
/* rgb */ color: rgb(40, 127, 119);
/* oklch */ color: oklch(54.3% 0.082 186.3);
Tailwind
colors: {
  custom: {
    50: '#6fa49e',
    500: '#287f77',
    950: '#000000',
  },
}
SCSS
$custom: #287f77;
$custom-light: #6fa49e;
$custom-dark: #000000;
JSON
{
  "hex": "#287f77",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 119
  },
  "hsl": {
    "h": 174.483,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54346,
    "c": 0.08191,
    "h": 186.3
  },
  "luminance": 0.16962
}

Semantic roles & 50–950 ramp

primary
#287F77
secondary
#AF545C
accent
#4C59DC
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #287F77

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

Preview Lab → · Contrast checker → · Palette generator →

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