#287981#287981

#287981 is a mid, moderate teal. Relative luminance 0.157; OKLCH L 53.1% C 0.077 H 204.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#287981
RGBrgb(40, 121, 129)
HSLhsl(185, 53%, 33%)
HSVhsv(185, 69%, 51%)
CMYKcmyk(69%, 6.2%, 0%, 49.4%)
CIE-LABlab(46.59, -21.25, -11.51)
CIE-LCHlch(46.59, 24.17, 208.43°)
OKLaboklab(53.14% -0.0701 -0.0319)
OKLCHoklch(53.14% 0.077 204.5)
XYZxyz(11.6732, 15.7095, 23.1817)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287981 #813028
analogous
#28815C #287981 #284C81
triadic
#287981 #812879 #798128
tetradic
#287981 #5C2881 #813028 #4C8128
square
#287981 #5C2881 #813028 #4C8128
split-complementary
#287981 #81284C #815C28
monochromatic
#0B2124 #1A4D52 #287981 #36A5B0 #58C1CB

Accessibility & contrast

On white

5.07
#287981 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#287981 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287981
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287981#FFFFFF#000000##FFFFFF
##2879811.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7482
Deuteranopia (green-blind)
#626A81
Tritanopia (blue-blind)
#007E7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287981;
/* rgb */ color: rgb(40, 121, 129);
/* oklch */ color: oklch(53.1% 0.077 204.5);
Tailwind
colors: {
  custom: {
    50: '#6fa0a5',
    500: '#287981',
    950: '#000000',
  },
}
SCSS
$custom: #287981;
$custom-light: #6fa0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#287981",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 129
  },
  "hsl": {
    "h": 185.393,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53143,
    "c": 0.07702,
    "h": 204.5
  },
  "luminance": 0.15711
}

Semantic roles & 50–950 ramp

primary
#287981
secondary
#B05D54
accent
#594CDC
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #287981

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

Preview Lab → · Contrast checker → · Palette generator →

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