#31B1DC#31B1DC

#31B1DC is a light, vivid cyan. Relative luminance 0.373; OKLCH L 71.1% C 0.123 H 225.7°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#31B1DC
RGBrgb(49, 177, 220)
HSLhsl(195, 71%, 53%)
HSVhsv(195, 78%, 86%)
CMYKcmyk(77.7%, 19.5%, 0%, 13.7%)
CIE-LABlab(67.47, -19.73, -31.38)
CIE-LCHlch(67.47, 37.07, 237.83°)
OKLaboklab(71.13% -0.0858 -0.0881)
OKLCHoklch(71.13% 0.123 225.7)
XYZxyz(29.9017, 37.2609, 73.3124)
Luminance0.3726 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B1DC #DC5C31
analogous
#31DCB2 #31B1DC #315BDC
triadic
#31B1DC #DC31B1 #B1DC31
tetradic
#31B1DC #B231DC #DC5C31 #5BDC31
square
#31B1DC #B231DC #DC5C31 #5BDC31
split-complementary
#31B1DC #DC315B #DCB231
monochromatic
#15637D #1E8DB2 #31B1DC #65C5E5 #9AD9EE

Accessibility & contrast

On white

2.48
#31B1DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#31B1DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B1DC
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B1DC#FFFFFF#000000##000000
##31B1DC1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#99ADDE
Deuteranopia (green-blind)
#839DDB
Tritanopia (blue-blind)
#00BEBF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31b1dc;
/* rgb */ color: rgb(49, 177, 220);
/* oklch */ color: oklch(71.1% 0.123 225.7);
Tailwind
colors: {
  custom: {
    50: '#83c8e7',
    500: '#31b1dc',
    950: '#000000',
  },
}
SCSS
$custom: #31b1dc;
$custom-light: #83c8e7;
$custom-dark: #000000;
JSON
{
  "hex": "#31b1dc",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 220
  },
  "hsl": {
    "h": 195.088,
    "s": 70.954,
    "l": 52.745
  },
  "oklch": {
    "l": 0.71131,
    "c": 0.12296,
    "h": 225.7
  },
  "luminance": 0.37265
}

Semantic roles & 50–950 ramp

primary
#31B1DC
secondary
#D9A28F
accent
#673AEE
background
#F8FCFE
surface
#F0F8FC
border
#CBD1D5
text
#0D1316
muted
#7D8284

Preview Lab

Preview with #31B1DC

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

Preview Lab → · Contrast checker → · Palette generator →

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