#287D7D#287D7D

#287D7D is a mid, moderate teal. Relative luminance 0.166; OKLCH L 54.0% C 0.079 H 195.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#287D7D
RGBrgb(40, 125, 125)
HSLhsl(180, 52%, 32%)
HSVhsv(180, 68%, 49%)
CMYKcmyk(68%, 0%, 0%, 51%)
CIE-LABlab(47.75, -24.59, -7.40)
CIE-LCHlch(47.75, 25.68, 196.75°)
OKLaboklab(54.04% -0.0763 -0.0205)
OKLCHoklch(54.04% 0.079 195.1)
XYZxyz(11.9087, 16.5977, 21.9741)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D7D #7D2828
analogous
#287D53 #287D7D #28537D
triadic
#287D7D #7D287D #7D7D28
tetradic
#287D7D #53287D #7D2828 #537D28
square
#287D7D #53287D #7D2828 #537D28
split-complementary
#287D7D #7D2853 #7D5328
monochromatic
#0A2020 #194F4F #287D7D #37ABAB #56C9C9

Accessibility & contrast

On white

4.86
#287D7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#287D7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287D7D
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D7D#FFFFFF#000000##FFFFFF
##287D7D1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75777D
Deuteranopia (green-blind)
#686D7E
Tritanopia (blue-blind)
#00817D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #287d7d;
/* rgb */ color: rgb(40, 125, 125);
/* oklch */ color: oklch(54.0% 0.079 195.1);
Tailwind
colors: {
  custom: {
    50: '#6fa3a2',
    500: '#287d7d',
    950: '#000000',
  },
}
SCSS
$custom: #287d7d;
$custom-light: #6fa3a2;
$custom-dark: #000000;
JSON
{
  "hex": "#287d7d",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 125
  },
  "hsl": {
    "h": 180,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54035,
    "c": 0.07906,
    "h": 195.1
  },
  "luminance": 0.16599
}

Semantic roles & 50–950 ramp

primary
#287D7D
secondary
#AE5353
accent
#4D4DDB
background
#F7FAF9
surface
#EDF3F2
border
#C8CDCC
text
#080F0F
muted
#7B7F7E

Preview Lab

Preview with #287D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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