#31B7BA#31B7BA

#31B7BA is a light, moderate teal. Relative luminance 0.381; OKLCH L 71.2% C 0.110 H 197.2°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#31B7BA
RGBrgb(49, 183, 186)
HSLhsl(181, 58%, 46%)
HSVhsv(181, 74%, 73%)
CMYKcmyk(73.7%, 1.6%, 0%, 27.1%)
CIE-LABlab(68.07, -33.43, -11.75)
CIE-LCHlch(68.07, 35.44, 199.37°)
OKLaboklab(71.21% -0.1053 -0.0327)
OKLCHoklch(71.21% 0.11 197.2)
XYZxyz(27.0590, 38.0618, 52.3654)
Luminance0.3806 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B7BA #BA3431
analogous
#31BA78 #31B7BA #3172BA
triadic
#31B7BA #BA31B7 #B7BA31
tetradic
#31B7BA #7831BA #BA3431 #72BA31
square
#31B7BA #7831BA #BA3431 #72BA31
split-complementary
#31B7BA #BA3172 #BA7831
monochromatic
#175859 #24878A #31B7BA #56D0D2 #86DDDF

Accessibility & contrast

On white

2.44
#31B7BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#31B7BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B7BA
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B7BA#FFFFFF#000000##000000
##31B7BA1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAAEBA
Deuteranopia (green-blind)
#96A0BB
Tritanopia (blue-blind)
#00BDB8
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #31b7ba;
/* rgb */ color: rgb(49, 183, 186);
/* oklch */ color: oklch(71.2% 0.110 197.2);
Tailwind
colors: {
  custom: {
    50: '#80cdce',
    500: '#31b7ba',
    950: '#000000',
  },
}
SCSS
$custom: #31b7ba;
$custom-light: #80cdce;
$custom-dark: #000000;
JSON
{
  "hex": "#31b7ba",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 186
  },
  "hsl": {
    "h": 181.314,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71212,
    "c": 0.11022,
    "h": 197.2
  },
  "luminance": 0.38065
}

Semantic roles & 50–950 ramp

primary
#31B7BA
secondary
#C9807E
accent
#4A46E2
background
#F8FCFC
surface
#F0F9F9
border
#CBD2D2
text
#0C1313
muted
#7D8282

Preview Lab

Preview with #31B7BA

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

Preview Lab → · Contrast checker → · Palette generator →

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