#31AFD4#31AFD4

#31AFD4 is a light, moderate cyan. Relative luminance 0.361; OKLCH L 70.3% C 0.118 H 222.4°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#31AFD4
RGBrgb(49, 175, 212)
HSLhsl(194, 65%, 51%)
HSVhsv(194, 77%, 83%)
CMYKcmyk(76.9%, 17.5%, 0%, 16.9%)
CIE-LABlab(66.57, -21.33, -28.37)
CIE-LCHlch(66.57, 35.50, 233.06°)
OKLaboklab(70.3% -0.0869 -0.0795)
OKLCHoklch(70.3% 0.118 222.4)
XYZxyz(28.4753, 36.0629, 67.7347)
Luminance0.3607 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AFD4 #D45631
analogous
#31D4A8 #31AFD4 #315DD4
triadic
#31AFD4 #D431AF #AFD431
tetradic
#31AFD4 #A831D4 #D45631 #5DD431
square
#31AFD4 #A831D4 #D45631 #5DD431
split-complementary
#31AFD4 #D4315D #D4A831
monochromatic
#185E73 #2388A5 #31AFD4 #64C3DF #96D6E9

Accessibility & contrast

On white

2.56
#31AFD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#31AFD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AFD4
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AFD4#FFFFFF#000000##000000
##31AFD41.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AABD6
Deuteranopia (green-blind)
#849BD4
Tritanopia (blue-blind)
#00BABB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31afd4;
/* rgb */ color: rgb(49, 175, 212);
/* oklch */ color: oklch(70.3% 0.118 222.4);
Tailwind
colors: {
  custom: {
    50: '#82c7e1',
    500: '#31afd4',
    950: '#000000',
  },
}
SCSS
$custom: #31afd4;
$custom-light: #82c7e1;
$custom-dark: #000000;
JSON
{
  "hex": "#31afd4",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 212
  },
  "hsl": {
    "h": 193.62,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.70303,
    "c": 0.11775,
    "h": 222.4
  },
  "luminance": 0.36066
}

Semantic roles & 50–950 ramp

primary
#31AFD4
secondary
#D49D8C
accent
#663FE8
background
#F8FCFD
surface
#F0F8FB
border
#CBD1D4
text
#0C1315
muted
#7D8283

Preview Lab

Preview with #31AFD4

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

Preview Lab → · Contrast checker → · Palette generator →

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