#31B5B2#31B5B2

#31B5B2 is a light, moderate teal. Relative luminance 0.369; OKLCH L 70.4% C 0.109 H 192.7°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#31B5B2
RGBrgb(49, 181, 178)
HSLhsl(179, 57%, 45%)
HSVhsv(179, 73%, 71%)
CMYKcmyk(72.9%, 0%, 1.7%, 29%)
CIE-LABlab(67.21, -34.83, -8.62)
CIE-LCHlch(67.21, 35.88, 193.89°)
OKLaboklab(70.44% -0.1068 -0.024)
OKLCHoklch(70.44% 0.109 192.7)
XYZxyz(25.8227, 36.9120, 47.8746)
Luminance0.3691 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B5B2 #B53134
analogous
#31B570 #31B5B2 #3176B5
triadic
#31B5B2 #B231B5 #B5B231
tetradic
#31B5B2 #7031B5 #B53134 #76B531
square
#31B5B2 #7031B5 #B53134 #76B531
split-complementary
#31B5B2 #B53176 #B57031
monochromatic
#175553 #248583 #31B5B2 #53D0CE #83DDDB

Accessibility & contrast

On white

2.51
#31B5B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#31B5B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B5B2
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B5B2#FFFFFF#000000##000000
##31B5B21.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAACB2
Deuteranopia (green-blind)
#979EB3
Tritanopia (blue-blind)
#00BAB4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31b5b2;
/* rgb */ color: rgb(49, 181, 178);
/* oklch */ color: oklch(70.4% 0.109 192.7);
Tailwind
colors: {
  custom: {
    50: '#7fcbc9',
    500: '#31b5b2',
    950: '#000000',
  },
}
SCSS
$custom: #31b5b2;
$custom-light: #7fcbc9;
$custom-dark: #000000;
JSON
{
  "hex": "#31b5b2",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 178
  },
  "hsl": {
    "h": 178.636,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70436,
    "c": 0.10947,
    "h": 192.7
  },
  "luminance": 0.36915
}

Semantic roles & 50–950 ramp

primary
#31B5B2
secondary
#C77B7D
accent
#474BE1
background
#F8FCFC
surface
#F0F9F8
border
#CBD2D1
text
#0B1313
muted
#7C8282

Preview Lab

Preview with #31B5B2

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

Preview Lab → · Contrast checker → · Palette generator →

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