#31917B#31917B

#31917B is a mid, moderate teal. Relative luminance 0.223; OKLCH L 59.5% C 0.095 H 174.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#31917B
RGBrgb(49, 145, 123)
HSLhsl(166, 49%, 38%)
HSVhsv(166, 66%, 57%)
CMYKcmyk(66.2%, 0%, 15.2%, 43.1%)
CIE-LABlab(54.38, -33.36, 3.53)
CIE-LCHlch(54.38, 33.54, 173.97°)
OKLaboklab(59.47% -0.0948 0.0088)
OKLCHoklch(59.47% 0.095 174.7)
XYZxyz(14.9654, 22.3322, 22.2569)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31917B #913147
analogous
#31914B #31917B #317791
triadic
#31917B #7B3191 #917B31
tetradic
#31917B #4B3191 #913147 #779131
square
#31917B #4B3191 #913147 #779131
split-complementary
#31917B #913177 #914B31
monochromatic
#12362D #226354 #31917B #41BFA2 #6ECEB8

Accessibility & contrast

On white

3.84
#31917B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#31917B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31917B
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31917B#FFFFFF#000000##000000
##31917B1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C887A
Deuteranopia (green-blind)
#7E7E7D
Tritanopia (blue-blind)
#00938A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #31917b;
/* rgb */ color: rgb(49, 145, 123);
/* oklch */ color: oklch(59.5% 0.095 174.7);
Tailwind
colors: {
  custom: {
    50: '#75b2a1',
    500: '#31917b',
    950: '#000000',
  },
}
SCSS
$custom: #31917b;
$custom-light: #75b2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#31917b",
  "rgb": {
    "r": 49,
    "g": 145,
    "b": 123
  },
  "hsl": {
    "h": 166.25,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59471,
    "c": 0.09522,
    "h": 174.7
  },
  "luminance": 0.22334
}

Semantic roles & 50–950 ramp

primary
#31917B
secondary
#B6687A
accent
#4F6ED9
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #31917B

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

Preview Lab → · Contrast checker → · Palette generator →

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