#288F7B#288F7B

#288F7B is a mid, moderate teal. Relative luminance 0.215; OKLCH L 58.7% C 0.097 H 176.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#288F7B
RGBrgb(40, 143, 123)
HSLhsl(168, 56%, 36%)
HSVhsv(168, 72%, 56%)
CMYKcmyk(72%, 0%, 14%, 43.9%)
CIE-LABlab(53.52, -33.90, 2.26)
CIE-LCHlch(53.52, 33.97, 176.19°)
OKLaboklab(58.71% -0.0969 0.0055)
OKLCHoklch(58.71% 0.097 176.8)
XYZxyz(14.2709, 21.5244, 22.1376)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288F7B #8F283C
analogous
#288F48 #288F7B #286F8F
triadic
#288F7B #7B288F #8F7B28
tetradic
#288F7B #48288F #8F283C #6F8F28
square
#288F7B #48288F #8F283C #6F8F28
split-complementary
#288F7B #8F286F #8F4828
monochromatic
#0D2F29 #1B5F52 #288F7B #35BFA4 #5FD2BC

Accessibility & contrast

On white

3.96
#288F7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#288F7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288F7B
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288F7B#FFFFFF#000000##000000
##288F7B1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89867A
Deuteranopia (green-blind)
#7B7C7D
Tritanopia (blue-blind)
#009189
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #288f7b;
/* rgb */ color: rgb(40, 143, 123);
/* oklch */ color: oklch(58.7% 0.097 176.8);
Tailwind
colors: {
  custom: {
    50: '#72b0a1',
    500: '#288f7b',
    950: '#000000',
  },
}
SCSS
$custom: #288f7b;
$custom-light: #72b0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#288f7b",
  "rgb": {
    "r": 40,
    "g": 143,
    "b": 123
  },
  "hsl": {
    "h": 168.35,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58709,
    "c": 0.09703,
    "h": 176.8
  },
  "luminance": 0.21526
}

Semantic roles & 50–950 ramp

primary
#288F7B
secondary
#B85B6D
accent
#4866E0
background
#F7FAF9
surface
#EDF5F2
border
#C8CFCC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #288F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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