#288F7D#288F7D

#288F7D is a mid, moderate teal. Relative luminance 0.216; OKLCH L 58.8% C 0.096 H 178.4°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#288F7D
RGBrgb(40, 143, 125)
HSLhsl(170, 56%, 36%)
HSVhsv(170, 72%, 56%)
CMYKcmyk(72%, 0%, 12.6%, 43.9%)
CIE-LABlab(53.57, -33.35, 1.18)
CIE-LCHlch(53.57, 33.37, 177.97°)
OKLaboklab(58.77% -0.0959 0.0026)
OKLCHoklch(58.77% 0.096 178.4)
XYZxyz(14.3974, 21.5750, 22.8037)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F7D #8F283A
analogous
#288F4A #288F7D #286D8F
triadic
#288F7D #7D288F #8F7D28
tetradic
#288F7D #4A288F #8F283A #6D8F28
square
#288F7D #4A288F #8F283A #6D8F28
split-complementary
#288F7D #8F286D #8F4A28
monochromatic
#0D2F29 #1B5F53 #288F7D #35BFA7 #5FD2BE

Accessibility & contrast

On white

3.95
#288F7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#288F7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F7D
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F7D#FFFFFF#000000##000000
##288F7D1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89867C
Deuteranopia (green-blind)
#7B7C7E
Tritanopia (blue-blind)
#00918A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #288f7d;
/* rgb */ color: rgb(40, 143, 125);
/* oklch */ color: oklch(58.8% 0.096 178.4);
Tailwind
colors: {
  custom: {
    50: '#72b0a2',
    500: '#288f7d',
    950: '#000000',
  },
}
SCSS
$custom: #288f7d;
$custom-light: #72b0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#288f7d",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 125
  },
  "hsl": {
    "h": 169.515,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58771,
    "c": 0.09595,
    "h": 178.4
  },
  "luminance": 0.21577
}

Semantic roles & 50–950 ramp

primary
#288F7D
secondary
#B85B6B
accent
#4863E0
background
#F7FAF9
surface
#EDF5F2
border
#C8CFCC
text
#09100F
muted
#7B7F7E

Preview Lab

Preview with #288F7D

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

Preview Lab → · Contrast checker → · Palette generator →

#288F7D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva