#287170#287170

#287170 is a mid, moderate teal. Relative luminance 0.134; OKLCH L 50.4% C 0.071 H 193.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#287170
RGBrgb(40, 113, 112)
HSLhsl(179, 48%, 30%)
HSVhsv(179, 65%, 44%)
CMYKcmyk(64.6%, 0%, 0.9%, 55.7%)
CIE-LABlab(43.40, -22.37, -6.13)
CIE-LCHlch(43.40, 23.19, 195.32°)
OKLaboklab(50.37% -0.069 -0.017)
OKLCHoklch(50.37% 0.071 193.9)
XYZxyz(9.7035, 13.4302, 17.4070)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287170 #712829
analogous
#28714B #287170 #284E71
triadic
#287170 #702871 #717028
tetradic
#287170 #4B2871 #712829 #4E7128
square
#287170 #4B2871 #712829 #4E7128
split-complementary
#287170 #71284E #714B28
monochromatic
#081716 #184443 #287170 #389E9D #52C2C0

Accessibility & contrast

On white

5.70
#287170 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#287170 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287170
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287170#FFFFFF#000000##FFFFFF
##2871701.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6B70
Deuteranopia (green-blind)
#5E6371
Tritanopia (blue-blind)
#007470
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #287170;
/* rgb */ color: rgb(40, 113, 112);
/* oklch */ color: oklch(50.4% 0.071 193.9);
Tailwind
colors: {
  custom: {
    50: '#6c9a99',
    500: '#287170',
    950: '#000000',
  },
}
SCSS
$custom: #287170;
$custom-light: #6c9a99;
$custom-dark: #000000;
JSON
{
  "hex": "#287170",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 112
  },
  "hsl": {
    "h": 179.178,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.50374,
    "c": 0.07103,
    "h": 193.9
  },
  "luminance": 0.13431
}

Semantic roles & 50–950 ramp

primary
#287170
secondary
#A35253
accent
#5052D7
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #287170

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

Preview Lab → · Contrast checker → · Palette generator →

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