#287271#287271

#287271 is a mid, moderate teal. Relative luminance 0.137; OKLCH L 50.7% C 0.072 H 193.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#287271
RGBrgb(40, 114, 113)
HSLhsl(179, 48%, 30%)
HSVhsv(179, 65%, 45%)
CMYKcmyk(64.9%, 0%, 0.9%, 55.3%)
CIE-LABlab(43.77, -22.58, -6.19)
CIE-LCHlch(43.77, 23.42, 195.32°)
OKLaboklab(50.68% -0.0696 -0.0172)
OKLCHoklch(50.68% 0.072 193.9)
XYZxyz(9.8717, 13.6769, 17.7392)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287271 #722829
analogous
#28724C #287271 #284E72
triadic
#287271 #712872 #727128
tetradic
#287271 #4C2872 #722829 #4E7228
square
#287271 #4C2872 #722829 #4E7228
split-complementary
#287271 #72284E #724C28
monochromatic
#081717 #184544 #287271 #389F9E #52C2C1

Accessibility & contrast

On white

5.62
#287271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#287271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287271
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287271#FFFFFF#000000##FFFFFF
##2872711.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6C71
Deuteranopia (green-blind)
#5F6472
Tritanopia (blue-blind)
#007571
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #287271;
/* rgb */ color: rgb(40, 114, 113);
/* oklch */ color: oklch(50.7% 0.072 193.9);
Tailwind
colors: {
  custom: {
    50: '#6c9b99',
    500: '#287271',
    950: '#000000',
  },
}
SCSS
$custom: #287271;
$custom-light: #6c9b99;
$custom-dark: #000000;
JSON
{
  "hex": "#287271",
  "rgb": {
    "r": 40,
    "g": 114,
    "b": 113
  },
  "hsl": {
    "h": 179.189,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50678,
    "c": 0.07173,
    "h": 193.9
  },
  "luminance": 0.13678
}

Semantic roles & 50–950 ramp

primary
#287271
secondary
#A45253
accent
#5052D8
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #287271

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

Preview Lab → · Contrast checker → · Palette generator →

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