#31B7B2#31B7B2

#31B7B2 is a light, moderate teal. Relative luminance 0.377; OKLCH L 70.9% C 0.111 H 191.2°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#31B7B2
RGBrgb(49, 183, 178)
HSLhsl(178, 58%, 45%)
HSVhsv(178, 73%, 72%)
CMYKcmyk(73.2%, 0%, 2.7%, 28.2%)
CIE-LABlab(67.82, -35.76, -7.71)
CIE-LCHlch(67.82, 36.58, 192.16°)
OKLaboklab(70.93% -0.1088 -0.0215)
OKLCHoklch(70.93% 0.111 191.2)
XYZxyz(26.2322, 37.7311, 48.0111)
Luminance0.3773 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B7B2 #B73136
analogous
#31B76F #31B7B2 #3179B7
triadic
#31B7B2 #B231B7 #B7B231
tetradic
#31B7B2 #6F31B7 #B73136 #79B731
square
#31B7B2 #6F31B7 #B73136 #79B731
split-complementary
#31B7B2 #B73179 #B76F31
monochromatic
#175654 #248783 #31B7B2 #54D1CD #84DEDB

Accessibility & contrast

On white

2.46
#31B7B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#31B7B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B7B2
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B7B2#FFFFFF#000000##000000
##31B7B21.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACADB2
Deuteranopia (green-blind)
#999FB3
Tritanopia (blue-blind)
#00BCB5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #31b7b2;
/* rgb */ color: rgb(49, 183, 178);
/* oklch */ color: oklch(70.9% 0.111 191.2);
Tailwind
colors: {
  custom: {
    50: '#7fcdc9',
    500: '#31b7b2',
    950: '#000000',
  },
}
SCSS
$custom: #31b7b2;
$custom-light: #7fcdc9;
$custom-dark: #000000;
JSON
{
  "hex": "#31b7b2",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 178
  },
  "hsl": {
    "h": 177.761,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70932,
    "c": 0.11092,
    "h": 191.2
  },
  "luminance": 0.37734
}

Semantic roles & 50–950 ramp

primary
#31B7B2
secondary
#C87C7F
accent
#474DE1
background
#F8FCFC
surface
#F0F9F8
border
#CBD2D1
text
#0C1313
muted
#7D8282

Preview Lab

Preview with #31B7B2

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

Preview Lab → · Contrast checker → · Palette generator →

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