#31AFDC#31AFDC

#31AFDC is a light, vivid cyan. Relative luminance 0.365; OKLCH L 70.7% C 0.124 H 227.2°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#31AFDC
RGBrgb(49, 175, 220)
HSLhsl(196, 71%, 53%)
HSVhsv(196, 78%, 86%)
CMYKcmyk(77.7%, 20.5%, 0%, 13.7%)
CIE-LABlab(66.88, -18.69, -32.29)
CIE-LCHlch(66.88, 37.31, 239.94°)
OKLaboklab(70.66% -0.0839 -0.0907)
OKLCHoklch(70.66% 0.124 227.2)
XYZxyz(29.5095, 36.4766, 73.1817)
Luminance0.3648 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AFDC #DC5E31
analogous
#31DCB3 #31AFDC #315ADC
triadic
#31AFDC #DC31AF #AFDC31
tetradic
#31AFDC #B331DC #DC5E31 #5ADC31
square
#31AFDC #B331DC #DC5E31 #5ADC31
split-complementary
#31AFDC #DC315A #DCB331
monochromatic
#15627D #1E8BB2 #31AFDC #65C3E5 #9AD8EE

Accessibility & contrast

On white

2.53
#31AFDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#31AFDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AFDC
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AFDC#FFFFFF#000000##000000
##31AFDC1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97ACDE
Deuteranopia (green-blind)
#809CDB
Tritanopia (blue-blind)
#00BCBE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31afdc;
/* rgb */ color: rgb(49, 175, 220);
/* oklch */ color: oklch(70.7% 0.124 227.2);
Tailwind
colors: {
  custom: {
    50: '#83c7e7',
    500: '#31afdc',
    950: '#000000',
  },
}
SCSS
$custom: #31afdc;
$custom-light: #83c7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#31afdc",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 220
  },
  "hsl": {
    "h": 195.789,
    "s": 70.954,
    "l": 52.745
  },
  "oklch": {
    "l": 0.70659,
    "c": 0.12358,
    "h": 227.2
  },
  "luminance": 0.3648
}

Semantic roles & 50–950 ramp

primary
#31AFDC
secondary
#D9A38F
accent
#693AEE
background
#F8FCFE
surface
#F0F8FC
border
#CBD1D5
text
#0C1316
muted
#7D8284

Preview Lab

Preview with #31AFDC

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

Preview Lab → · Contrast checker → · Palette generator →

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