#287172#287172

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

Color values

HEX#287172
RGBrgb(40, 113, 114)
HSLhsl(181, 48%, 30%)
HSVhsv(181, 65%, 45%)
CMYKcmyk(64.9%, 0.9%, 0%, 55.3%)
CIE-LABlab(43.47, -21.75, -7.23)
CIE-LCHlch(43.47, 22.92, 198.39°)
OKLaboklab(50.45% -0.068 -0.02)
OKLCHoklch(50.45% 0.071 196.4)
XYZxyz(9.8161, 13.4752, 18.0000)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287172 #722928
analogous
#28724E #287172 #284C72
triadic
#287172 #722871 #717228
tetradic
#287172 #4E2872 #722928 #4C7228
square
#287172 #4E2872 #722928 #4C7228
split-complementary
#287172 #72284C #724E28
monochromatic
#081717 #184445 #287172 #389E9F #52C1C2

Accessibility & contrast

On white

5.68
#287172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#287172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287172
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287172#FFFFFF#000000##FFFFFF
##2871721.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696C72
Deuteranopia (green-blind)
#5E6373
Tritanopia (blue-blind)
#007571
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #287172;
/* rgb */ color: rgb(40, 113, 114);
/* oklch */ color: oklch(50.4% 0.071 196.4);
Tailwind
colors: {
  custom: {
    50: '#6c9a9a',
    500: '#287172',
    950: '#000000',
  },
}
SCSS
$custom: #287172;
$custom-light: #6c9a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#287172",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 114
  },
  "hsl": {
    "h": 180.811,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5045,
    "c": 0.0709,
    "h": 196.4
  },
  "luminance": 0.13476
}

Semantic roles & 50–950 ramp

primary
#287172
secondary
#A45352
accent
#5250D8
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #287172

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

Preview Lab → · Contrast checker → · Palette generator →

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