#287970#287970

#287970 is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.5% C 0.078 H 184.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#287970
RGBrgb(40, 121, 112)
HSLhsl(173, 50%, 32%)
HSVhsv(173, 67%, 47%)
CMYKcmyk(66.9%, 0%, 7.4%, 52.5%)
CIE-LABlab(46.03, -26.45, -2.23)
CIE-LCHlch(46.03, 26.54, 184.82°)
OKLaboklab(52.51% -0.0781 -0.0064)
OKLCHoklch(52.51% 0.078 184.7)
XYZxyz(10.6357, 15.2945, 17.7177)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287970 #792831
analogous
#287948 #287970 #285A79
triadic
#287970 #702879 #797028
tetradic
#287970 #482879 #792831 #5A7928
square
#287970 #482879 #792831 #5A7928
split-complementary
#287970 #79285A #794828
monochromatic
#0A1D1B #194B45 #287970 #37A79B #55C7BA

Accessibility & contrast

On white

5.17
#287970 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#287970 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287970
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287970#FFFFFF#000000##FFFFFF
##2879701.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737270
Deuteranopia (green-blind)
#676971
Tritanopia (blue-blind)
#007C76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287970;
/* rgb */ color: rgb(40, 121, 112);
/* oklch */ color: oklch(52.5% 0.078 184.7);
Tailwind
colors: {
  custom: {
    50: '#6da099',
    500: '#287970',
    950: '#000000',
  },
}
SCSS
$custom: #287970;
$custom-light: #6da099;
$custom-dark: #000000;
JSON
{
  "hex": "#287970",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 112
  },
  "hsl": {
    "h": 173.333,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52508,
    "c": 0.07837,
    "h": 184.7
  },
  "luminance": 0.15296
}

Semantic roles & 50–950 ramp

primary
#287970
secondary
#AB525C
accent
#4E5EDA
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080F0D
muted
#7B7E7E

Preview Lab

Preview with #287970

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

Preview Lab → · Contrast checker → · Palette generator →

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