#287D7E#287D7E

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

Color values

HEX#287D7E
RGBrgb(40, 125, 126)
HSLhsl(181, 52%, 33%)
HSVhsv(181, 68%, 49%)
CMYKcmyk(68.3%, 0.8%, 0%, 50.6%)
CIE-LABlab(47.78, -24.28, -7.94)
CIE-LCHlch(47.78, 25.54, 198.12°)
OKLaboklab(54.07% -0.0759 -0.022)
OKLCHoklch(54.07% 0.079 196.2)
XYZxyz(11.9729, 16.6234, 22.3122)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D7E #7E2928
analogous
#287E54 #287D7E #28527E
triadic
#287D7E #7E287D #7D7E28
tetradic
#287D7E #54287E #7E2928 #527E28
square
#287D7E #54287E #7E2928 #527E28
split-complementary
#287D7E #7E2852 #7E5428
monochromatic
#0B2121 #194F50 #287D7E #37ABAC #57C8CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287D7E#FFFFFF#000000##FFFFFF
##287D7E1.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)
#75777E
Deuteranopia (green-blind)
#676D7F
Tritanopia (blue-blind)
#00817D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #287d7e;
/* rgb */ color: rgb(40, 125, 126);
/* oklch */ color: oklch(54.1% 0.079 196.2);
Tailwind
colors: {
  custom: {
    50: '#6fa3a3',
    500: '#287d7e',
    950: '#000000',
  },
}
SCSS
$custom: #287d7e;
$custom-light: #6fa3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#287d7e",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 126
  },
  "hsl": {
    "h": 180.698,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54072,
    "c": 0.07901,
    "h": 196.2
  },
  "luminance": 0.16625
}

Semantic roles & 50–950 ramp

primary
#287D7E
secondary
#AF5453
accent
#4E4DDB
background
#F7FAFA
surface
#EDF3F3
border
#C8CDCD
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #287D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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