#287988#287988

#287988 is a mid, moderate teal. Relative luminance 0.159; OKLCH L 53.4% C 0.079 H 212.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#287988
RGBrgb(40, 121, 136)
HSLhsl(189, 55%, 35%)
HSVhsv(189, 71%, 53%)
CMYKcmyk(70.6%, 11%, 0%, 46.7%)
CIE-LABlab(46.85, -18.98, -15.27)
CIE-LCHlch(46.85, 24.36, 218.82°)
OKLaboklab(53.43% -0.067 -0.0425)
OKLCHoklch(53.43% 0.079 212.4)
XYZxyz(12.1545, 15.9021, 25.7166)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287988 #883728
analogous
#288867 #287988 #284988
triadic
#287988 #882879 #798828
tetradic
#287988 #672888 #883728 #498828
square
#287988 #672888 #883728 #498828
split-complementary
#287988 #882849 #886728
monochromatic
#0C2529 #1A4F59 #287988 #36A3B7 #5BBDCF

Accessibility & contrast

On white

5.02
#287988 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#287988 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287988
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287988#FFFFFF#000000##FFFFFF
##2879881.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7589
Deuteranopia (green-blind)
#606B88
Tritanopia (blue-blind)
#007F7E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #287988;
/* rgb */ color: rgb(40, 121, 136);
/* oklch */ color: oklch(53.4% 0.079 212.4);
Tailwind
colors: {
  custom: {
    50: '#70a0aa',
    500: '#287988',
    950: '#000000',
  },
}
SCSS
$custom: #287988;
$custom-light: #70a0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#287988",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 136
  },
  "hsl": {
    "h": 189.375,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53433,
    "c": 0.07932,
    "h": 212.4
  },
  "luminance": 0.15903
}

Semantic roles & 50–950 ramp

primary
#287988
secondary
#B46658
accent
#614ADE
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #287988

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

Preview Lab → · Contrast checker → · Palette generator →

#287988 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva