#31AFCC#31AFCC

#31AFCC is a light, moderate cyan. Relative luminance 0.357; OKLCH L 70.0% C 0.113 H 217.2°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#31AFCC
RGBrgb(49, 175, 204)
HSLhsl(191, 61%, 50%)
HSVhsv(191, 76%, 80%)
CMYKcmyk(76%, 14.2%, 0%, 20%)
CIE-LABlab(66.27, -23.93, -24.42)
CIE-LCHlch(66.27, 34.19, 225.58°)
OKLaboklab(69.96% -0.09 -0.0682)
OKLCHoklch(69.96% 0.113 217.2)
XYZxyz(27.4911, 35.6692, 62.5510)
Luminance0.3567 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AFCC #CC4E31
analogous
#31CC9C #31AFCC #3161CC
triadic
#31AFCC #CC31AF #AFCC31
tetradic
#31AFCC #9C31CC #CC4E31 #61CC31
square
#31AFCC #9C31CC #CC4E31 #61CC31
split-complementary
#31AFCC #CC3161 #CC9C31
monochromatic
#195A69 #25859B #31AFCC #61C3D9 #92D6E5

Accessibility & contrast

On white

2.58
#31AFCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#31AFCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AFCC
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AFCC#FFFFFF#000000##000000
##31AFCC1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CAACE
Deuteranopia (green-blind)
#879BCC
Tritanopia (blue-blind)
#00B9B8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31afcc;
/* rgb */ color: rgb(49, 175, 204);
/* oklch */ color: oklch(70.0% 0.113 217.2);
Tailwind
colors: {
  custom: {
    50: '#81c7db',
    500: '#31afcc',
    950: '#000000',
  },
}
SCSS
$custom: #31afcc;
$custom-light: #81c7db;
$custom-dark: #000000;
JSON
{
  "hex": "#31afcc",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 204
  },
  "hsl": {
    "h": 191.226,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.69961,
    "c": 0.1129,
    "h": 217.2
  },
  "luminance": 0.35673
}

Semantic roles & 50–950 ramp

primary
#31AFCC
secondary
#D09689
accent
#6243E4
background
#F8FCFD
surface
#F0F8FB
border
#CBD1D4
text
#0C1315
muted
#7D8283

Preview Lab

Preview with #31AFCC

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

Preview Lab → · Contrast checker → · Palette generator →

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