#287D7C#287D7C

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

Color values

HEX#287D7C
RGBrgb(40, 125, 124)
HSLhsl(179, 52%, 32%)
HSVhsv(179, 68%, 49%)
CMYKcmyk(68%, 0%, 0.8%, 51%)
CIE-LABlab(47.72, -24.89, -6.86)
CIE-LCHlch(47.72, 25.82, 195.40°)
OKLaboklab(54% -0.0768 -0.0191)
OKLCHoklch(54% 0.079 193.9)
XYZxyz(11.8451, 16.5723, 21.6394)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D7C #7D2829
analogous
#287D51 #287D7C #28547D
triadic
#287D7C #7C287D #7D7C28
tetradic
#287D7C #51287D #7D2829 #547D28
square
#287D7C #51287D #7D2829 #547D28
split-complementary
#287D7C #7D2854 #7D5128
monochromatic
#0A2020 #194F4E #287D7C #37ABAA #56C9C8

Accessibility & contrast

On white

4.87
#287D7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#287D7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287D7C
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D7C#FFFFFF#000000##FFFFFF
##287D7C1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #287d7c;
/* rgb */ color: rgb(40, 125, 124);
/* oklch */ color: oklch(54.0% 0.079 193.9);
Tailwind
colors: {
  custom: {
    50: '#6fa3a1',
    500: '#287d7c',
    950: '#000000',
  },
}
SCSS
$custom: #287d7c;
$custom-light: #6fa3a1;
$custom-dark: #000000;
JSON
{
  "hex": "#287d7c",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 124
  },
  "hsl": {
    "h": 179.294,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53997,
    "c": 0.07914,
    "h": 193.9
  },
  "luminance": 0.16574
}

Semantic roles & 50–950 ramp

primary
#287D7C
secondary
#AE5354
accent
#4D4EDB
background
#F7FAF9
surface
#EDF3F2
border
#C8CDCC
text
#080F0F
muted
#7B7F7E

Preview Lab

Preview with #287D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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