#31B9B2#31B9B2

#31B9B2 is a light, moderate teal. Relative luminance 0.386; OKLCH L 71.4% C 0.112 H 189.8°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#31B9B2
RGBrgb(49, 185, 178)
HSLhsl(177, 58%, 46%)
HSVhsv(177, 74%, 73%)
CMYKcmyk(73.5%, 0%, 3.8%, 27.5%)
CIE-LABlab(68.43, -36.69, -6.80)
CIE-LCHlch(68.43, 37.31, 190.50°)
OKLaboklab(71.43% -0.1108 -0.019)
OKLCHoklch(71.43% 0.112 189.8)
XYZxyz(26.6477, 38.5620, 48.1496)
Luminance0.3856 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B9B2 #B93138
analogous
#31B96E #31B9B2 #317CB9
triadic
#31B9B2 #B231B9 #B9B231
tetradic
#31B9B2 #6E31B9 #B93138 #7CB931
square
#31B9B2 #6E31B9 #B93138 #7CB931
split-complementary
#31B9B2 #B9317C #B96E31
monochromatic
#175855 #248983 #31B9B2 #55D2CC #86DFDA

Accessibility & contrast

On white

2.41
#31B9B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#31B9B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B9B2
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B9B2#FFFFFF#000000##000000
##31B9B21.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEAFB2
Deuteranopia (green-blind)
#9BA1B3
Tritanopia (blue-blind)
#00BEB7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #31b9b2;
/* rgb */ color: rgb(49, 185, 178);
/* oklch */ color: oklch(71.4% 0.112 189.8);
Tailwind
colors: {
  custom: {
    50: '#7fcec9',
    500: '#31b9b2',
    950: '#000000',
  },
}
SCSS
$custom: #31b9b2;
$custom-light: #7fcec9;
$custom-dark: #000000;
JSON
{
  "hex": "#31b9b2",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 178
  },
  "hsl": {
    "h": 176.912,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71429,
    "c": 0.11242,
    "h": 189.8
  },
  "luminance": 0.38565
}

Semantic roles & 50–950 ramp

primary
#31B9B2
secondary
#C87D81
accent
#464EE1
background
#F8FCFC
surface
#F0F9F8
border
#CBD2D1
text
#0C1413
muted
#7D8282

Preview Lab

Preview with #31B9B2

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

Preview Lab → · Contrast checker → · Palette generator →

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