#31B2CC#31B2CC

#31B2CC is a light, moderate cyan. Relative luminance 0.369; OKLCH L 70.7% C 0.113 H 214.7°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#31B2CC
RGBrgb(49, 178, 204)
HSLhsl(190, 61%, 50%)
HSVhsv(190, 76%, 80%)
CMYKcmyk(76%, 12.7%, 0%, 20%)
CIE-LABlab(67.16, -25.45, -23.05)
CIE-LCHlch(67.16, 34.34, 222.16°)
OKLaboklab(70.68% -0.0929 -0.0643)
OKLCHoklch(70.68% 0.113 214.7)
XYZxyz(28.0814, 36.8500, 62.7478)
Luminance0.3685 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B2CC #CC4B31
analogous
#31CC99 #31B2CC #3164CC
triadic
#31B2CC #CC31B2 #B2CC31
tetradic
#31B2CC #9931CC #CC4B31 #64CC31
square
#31B2CC #9931CC #CC4B31 #64CC31
split-complementary
#31B2CC #CC3164 #CC9931
monochromatic
#195C69 #25879B #31B2CC #61C5D9 #92D7E5

Accessibility & contrast

On white

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

On black

8.37
#31B2CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B2CC
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B2CC#FFFFFF#000000##000000
##31B2CC1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0ACCD
Deuteranopia (green-blind)
#8B9DCC
Tritanopia (blue-blind)
#00BCBA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b2cc;
/* rgb */ color: rgb(49, 178, 204);
/* oklch */ color: oklch(70.7% 0.113 214.7);
Tailwind
colors: {
  custom: {
    50: '#81c9db',
    500: '#31b2cc',
    950: '#000000',
  },
}
SCSS
$custom: #31b2cc;
$custom-light: #81c9db;
$custom-dark: #000000;
JSON
{
  "hex": "#31b2cc",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 204
  },
  "hsl": {
    "h": 190.065,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.70684,
    "c": 0.11295,
    "h": 214.7
  },
  "luminance": 0.36853
}

Semantic roles & 50–950 ramp

primary
#31B2CC
secondary
#D09589
accent
#5E43E4
background
#F8FCFD
surface
#F0F8FB
border
#CBD1D4
text
#0C1315
muted
#7D8283

Preview Lab

Preview with #31B2CC

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

Preview Lab → · Contrast checker → · Palette generator →

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