#31B7C5#31B7C5

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

Color values

HEX#31B7C5
RGBrgb(49, 183, 197)
HSLhsl(186, 60%, 48%)
HSVhsv(186, 75%, 77%)
CMYKcmyk(75.1%, 7.1%, 0%, 22.7%)
CIE-LABlab(68.42, -30.12, -17.28)
CIE-LCHlch(68.42, 34.72, 209.84°)
OKLaboklab(71.62% -0.1006 -0.048)
OKLCHoklch(71.62% 0.111 205.5)
XYZxyz(28.2737, 38.5477, 58.7628)
Luminance0.3855 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B7C5 #C53F31
analogous
#31C589 #31B7C5 #316DC5
triadic
#31B7C5 #C531B7 #B7C531
tetradic
#31B7C5 #8931C5 #C53F31 #6DC531
square
#31B7C5 #8931C5 #C53F31 #6DC531
split-complementary
#31B7C5 #C5316D #C58931
monochromatic
#195C63 #258994 #31B7C5 #5DCBD7 #8EDBE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B7C5#FFFFFF#000000##000000
##31B7C51.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)
#A7AFC6
Deuteranopia (green-blind)
#93A0C5
Tritanopia (blue-blind)
#00BFBB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #31b7c5;
/* rgb */ color: rgb(49, 183, 197);
/* oklch */ color: oklch(71.6% 0.111 205.5);
Tailwind
colors: {
  custom: {
    50: '#81cdd6',
    500: '#31b7c5',
    950: '#000000',
  },
}
SCSS
$custom: #31b7c5;
$custom-light: #81cdd6;
$custom-dark: #000000;
JSON
{
  "hex": "#31b7c5",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 197
  },
  "hsl": {
    "h": 185.676,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.71618,
    "c": 0.11145,
    "h": 205.5
  },
  "luminance": 0.38551
}

Semantic roles & 50–950 ramp

primary
#31B7C5
secondary
#CD8B85
accent
#5444E3
background
#F8FCFD
surface
#F0F9FA
border
#CBD2D3
text
#0C1314
muted
#7D8283

Preview Lab

Preview with #31B7C5

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

Preview Lab → · Contrast checker → · Palette generator →

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