#31B7C2#31B7C2

#31B7C2 is a light, moderate teal. Relative luminance 0.384; OKLCH L 71.5% C 0.111 H 203.3°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#31B7C2
RGBrgb(49, 183, 194)
HSLhsl(185, 60%, 48%)
HSVhsv(185, 75%, 76%)
CMYKcmyk(74.7%, 5.7%, 0%, 23.9%)
CIE-LABlab(68.32, -31.03, -15.78)
CIE-LCHlch(68.32, 34.81, 206.95°)
OKLaboklab(71.51% -0.1018 -0.0438)
OKLCHoklch(71.51% 0.111 203.3)
XYZxyz(27.9334, 38.4116, 56.9705)
Luminance0.3841 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B7C2 #C23C31
analogous
#31C285 #31B7C2 #316EC2
triadic
#31B7C2 #C231B7 #B7C231
tetradic
#31B7C2 #8531C2 #C23C31 #6EC231
square
#31B7C2 #8531C2 #C23C31 #6EC231
split-complementary
#31B7C2 #C2316E #C28531
monochromatic
#185B60 #258991 #31B7C2 #5BCCD6 #8CDBE2

Accessibility & contrast

On white

2.42
#31B7C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#31B7C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B7C2
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B7C2#FFFFFF#000000##000000
##31B7C21.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8AFC3
Deuteranopia (green-blind)
#94A0C3
Tritanopia (blue-blind)
#00BFBA
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #31b7c2;
/* rgb */ color: rgb(49, 183, 194);
/* oklch */ color: oklch(71.5% 0.111 203.3);
Tailwind
colors: {
  custom: {
    50: '#80cdd4',
    500: '#31b7c2',
    950: '#000000',
  },
}
SCSS
$custom: #31b7c2;
$custom-light: #80cdd4;
$custom-dark: #000000;
JSON
{
  "hex": "#31b7c2",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 194
  },
  "hsl": {
    "h": 184.552,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71505,
    "c": 0.11087,
    "h": 203.3
  },
  "luminance": 0.38415
}

Semantic roles & 50–950 ramp

primary
#31B7C2
secondary
#CC8883
accent
#5145E3
background
#F8FCFD
surface
#F0F9FA
border
#CBD2D3
text
#0C1314
muted
#7D8283

Preview Lab

Preview with #31B7C2

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

Preview Lab → · Contrast checker → · Palette generator →

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