#31917E#31917E

#31917E is a mid, moderate teal. Relative luminance 0.224; OKLCH L 59.6% C 0.093 H 177.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#31917E
RGBrgb(49, 145, 126)
HSLhsl(168, 49%, 38%)
HSVhsv(168, 66%, 57%)
CMYKcmyk(66.2%, 0%, 13.1%, 43.1%)
CIE-LABlab(54.46, -32.56, 1.92)
CIE-LCHlch(54.46, 32.62, 176.63°)
OKLaboklab(59.56% -0.0933 0.0046)
OKLCHoklch(59.56% 0.093 177.2)
XYZxyz(15.1561, 22.4085, 23.2611)
Luminance0.2241 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31917E #913144
analogous
#31914E #31917E #317491
triadic
#31917E #7E3191 #917E31
tetradic
#31917E #4E3191 #913144 #749131
square
#31917E #4E3191 #913144 #749131
split-complementary
#31917E #913174 #914E31
monochromatic
#12362F #226356 #31917E #41BFA6 #6ECEBB

Accessibility & contrast

On white

3.83
#31917E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#31917E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31917E
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31917E#FFFFFF#000000##000000
##31917E1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B887D
Deuteranopia (green-blind)
#7E7E7F
Tritanopia (blue-blind)
#00938B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #31917e;
/* rgb */ color: rgb(49, 145, 126);
/* oklch */ color: oklch(59.6% 0.093 177.2);
Tailwind
colors: {
  custom: {
    50: '#75b2a3',
    500: '#31917e',
    950: '#000000',
  },
}
SCSS
$custom: #31917e;
$custom-light: #75b2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#31917e",
  "rgb": {
    "r": 49,
    "g": 145,
    "b": 126
  },
  "hsl": {
    "h": 168.125,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59563,
    "c": 0.09346,
    "h": 177.2
  },
  "luminance": 0.2241
}

Semantic roles & 50–950 ramp

primary
#31917E
secondary
#B66877
accent
#4F6AD9
background
#F7FBFA
surface
#EEF6F3
border
#C9D0CD
text
#09110F
muted
#7B807F

Preview Lab

Preview with #31917E

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

Preview Lab → · Contrast checker → · Palette generator →

#31917E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva