#287F7E#287F7E

#287F7E is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.6% C 0.080 H 193.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#287F7E
RGBrgb(40, 127, 126)
HSLhsl(179, 52%, 33%)
HSVhsv(179, 69%, 50%)
CMYKcmyk(68.5%, 0%, 0.8%, 50.2%)
CIE-LABlab(48.43, -25.30, -6.98)
CIE-LCHlch(48.43, 26.24, 195.42°)
OKLaboklab(54.6% -0.0781 -0.0194)
OKLCHoklch(54.6% 0.08 193.9)
XYZxyz(12.2286, 17.1348, 22.3975)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287F7E #7F2829
analogous
#287F52 #287F7E #28557F
triadic
#287F7E #7E287F #7F7E28
tetradic
#287F7E #52287F #7F2829 #557F28
square
#287F7E #52287F #7F2829 #557F28
split-complementary
#287F7E #7F2855 #7F5228
monochromatic
#0B2222 #195050 #287F7E #37AEAC #57CAC9

Accessibility & contrast

On white

4.74
#287F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#287F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287F7E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287F7E#FFFFFF#000000##FFFFFF
##287F7E1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77797E
Deuteranopia (green-blind)
#6A6F7F
Tritanopia (blue-blind)
#00837E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #287f7e;
/* rgb */ color: rgb(40, 127, 126);
/* oklch */ color: oklch(54.6% 0.080 193.9);
Tailwind
colors: {
  custom: {
    50: '#6fa4a3',
    500: '#287f7e',
    950: '#000000',
  },
}
SCSS
$custom: #287f7e;
$custom-light: #6fa4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#287f7e",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 126
  },
  "hsl": {
    "h": 179.31,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54597,
    "c": 0.08045,
    "h": 193.9
  },
  "luminance": 0.17136
}

Semantic roles & 50–950 ramp

primary
#287F7E
secondary
#AF5455
accent
#4C4EDC
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #287F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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