#31B7A4#31B7A4

#31B7A4 is a light, moderate teal. Relative luminance 0.372; OKLCH L 70.5% C 0.115 H 181.1°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#31B7A4
RGBrgb(49, 183, 164)
HSLhsl(171, 58%, 45%)
HSVhsv(171, 73%, 72%)
CMYKcmyk(73.2%, 0%, 10.4%, 28.2%)
CIE-LABlab(67.42, -39.67, -0.57)
CIE-LCHlch(67.42, 39.67, 180.82°)
OKLaboklab(70.48% -0.1152 -0.0022)
OKLCHoklch(70.48% 0.115 181.1)
XYZxyz(24.8977, 37.1973, 40.9824)
Luminance0.3720 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B7A4 #B73144
analogous
#31B761 #31B7A4 #3187B7
triadic
#31B7A4 #A431B7 #B7A431
tetradic
#31B7A4 #6131B7 #B73144 #87B731
square
#31B7A4 #6131B7 #B73144 #87B731
split-complementary
#31B7A4 #B73187 #B76131
monochromatic
#17564D #248779 #31B7A4 #54D1BF #84DED1

Accessibility & contrast

On white

2.49
#31B7A4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#31B7A4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B7A4
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B7A4#FFFFFF#000000##000000
##31B7A41.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFACA3
Deuteranopia (green-blind)
#9C9FA6
Tritanopia (blue-blind)
#00BAB1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31b7a4;
/* rgb */ color: rgb(49, 183, 164);
/* oklch */ color: oklch(70.5% 0.115 181.1);
Tailwind
colors: {
  custom: {
    50: '#7ecdbe',
    500: '#31b7a4',
    950: '#000000',
  },
}
SCSS
$custom: #31b7a4;
$custom-light: #7ecdbe;
$custom-dark: #000000;
JSON
{
  "hex": "#31b7a4",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 164
  },
  "hsl": {
    "h": 171.493,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70477,
    "c": 0.11521,
    "h": 181.1
  },
  "luminance": 0.372
}

Semantic roles & 50–950 ramp

primary
#31B7A4
secondary
#C87C87
accent
#475DE1
background
#F8FCFB
surface
#EFF9F6
border
#CAD2D0
text
#0B1312
muted
#7C8281

Preview Lab

Preview with #31B7A4

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

Preview Lab → · Contrast checker → · Palette generator →

#31B7A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva