#31B5B8#31B5B8

#31B5B8 is a light, moderate teal. Relative luminance 0.372; OKLCH L 70.6% C 0.109 H 197.3°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#31B5B8
RGBrgb(49, 181, 184)
HSLhsl(181, 58%, 46%)
HSVhsv(181, 73%, 72%)
CMYKcmyk(73.4%, 1.6%, 0%, 27.8%)
CIE-LABlab(67.40, -33.07, -11.66)
CIE-LCHlch(67.40, 35.07, 199.41°)
OKLaboklab(70.65% -0.1042 -0.0324)
OKLCHoklch(70.65% 0.109 197.3)
XYZxyz(26.4383, 37.1582, 51.1170)
Luminance0.3716 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B5B8 #B83431
analogous
#31B877 #31B5B8 #3172B8
triadic
#31B5B8 #B831B5 #B5B831
tetradic
#31B5B8 #7731B8 #B83431 #72B831
square
#31B5B8 #7731B8 #B83431 #72B831
split-complementary
#31B5B8 #B83172 #B87731
monochromatic
#175657 #248588 #31B5B8 #55CFD2 #85DCDE

Accessibility & contrast

On white

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

On black

8.43
#31B5B8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B5B8
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B5B8#FFFFFF#000000##000000
##31B5B81.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8ACB8
Deuteranopia (green-blind)
#959EB9
Tritanopia (blue-blind)
#00BBB6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31b5b8;
/* rgb */ color: rgb(49, 181, 184);
/* oklch */ color: oklch(70.6% 0.109 197.3);
Tailwind
colors: {
  custom: {
    50: '#7fcbcd',
    500: '#31b5b8',
    950: '#000000',
  },
}
SCSS
$custom: #31b5b8;
$custom-light: #7fcbcd;
$custom-dark: #000000;
JSON
{
  "hex": "#31b5b8",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 184
  },
  "hsl": {
    "h": 181.333,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70647,
    "c": 0.10908,
    "h": 197.3
  },
  "luminance": 0.37161
}

Semantic roles & 50–950 ramp

primary
#31B5B8
secondary
#C87F7D
accent
#4A47E1
background
#F8FCFC
surface
#F0F8F9
border
#CBD1D2
text
#0C1313
muted
#7D8282

Preview Lab

Preview with #31B5B8

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

Preview Lab → · Contrast checker → · Palette generator →

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