#287974#287974

#287974 is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.6% C 0.077 H 189.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#287974
RGBrgb(40, 121, 116)
HSLhsl(176, 50%, 32%)
HSVhsv(176, 67%, 47%)
CMYKcmyk(66.9%, 0%, 4.1%, 52.5%)
CIE-LABlab(46.16, -25.27, -4.43)
CIE-LCHlch(46.16, 25.66, 189.94°)
OKLaboklab(52.65% -0.0762 -0.0124)
OKLCHoklch(52.65% 0.077 189.3)
XYZxyz(10.8634, 15.3856, 18.9168)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287974 #79282D
analogous
#28794C #287974 #285679
triadic
#287974 #742879 #797428
tetradic
#287974 #4C2879 #79282D #567928
square
#287974 #4C2879 #79282D #567928
split-complementary
#287974 #792856 #794C28
monochromatic
#0A1D1C #194B48 #287974 #37A7A0 #55C7C0

Accessibility & contrast

On white

5.15
#287974 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#287974 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287974
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287974#FFFFFF#000000##FFFFFF
##2879741.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727374
Deuteranopia (green-blind)
#666A75
Tritanopia (blue-blind)
#007C77
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287974;
/* rgb */ color: rgb(40, 121, 116);
/* oklch */ color: oklch(52.6% 0.077 189.3);
Tailwind
colors: {
  custom: {
    50: '#6ea09c',
    500: '#287974',
    950: '#000000',
  },
}
SCSS
$custom: #287974;
$custom-light: #6ea09c;
$custom-dark: #000000;
JSON
{
  "hex": "#287974",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 116
  },
  "hsl": {
    "h": 176.296,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52649,
    "c": 0.07716,
    "h": 189.3
  },
  "luminance": 0.15387
}

Semantic roles & 50–950 ramp

primary
#287974
secondary
#AB5257
accent
#4E57DA
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #287974

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

Preview Lab → · Contrast checker → · Palette generator →

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