#31C5E6#31C5E6

#31C5E6 is a light, vivid cyan. Relative luminance 0.463; OKLCH L 76.3% C 0.126 H 217.1°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#31C5E6
RGBrgb(49, 197, 230)
HSLhsl(191, 78%, 55%)
HSVhsv(191, 79%, 90%)
CMYKcmyk(78.7%, 14.3%, 0%, 9.8%)
CIE-LABlab(73.74, -26.68, -27.18)
CIE-LCHlch(73.74, 38.09, 225.53°)
OKLaboklab(76.29% -0.1006 -0.076)
OKLCHoklch(76.29% 0.126 217.1)
XYZxyz(35.5097, 46.2942, 81.9117)
Luminance0.4630 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C5E6 #E65231
analogous
#31E6AC #31C5E6 #316BE6
triadic
#31C5E6 #E631C5 #C5E631
tetradic
#31C5E6 #AC31E6 #E65231 #6BE631
square
#31C5E6 #AC31E6 #E65231 #6BE631
split-complementary
#31C5E6 #E6316B #E6AC31
monochromatic
#11758C #18A3C2 #31C5E6 #68D4ED #9EE4F3

Accessibility & contrast

On white

2.05
#31C5E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#31C5E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C5E6
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C5E6#FFFFFF#000000##000000
##31C5E61.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFBFE8
Deuteranopia (green-blind)
#97AEE6
Tritanopia (blue-blind)
#00D0CF
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #31c5e6;
/* rgb */ color: rgb(49, 197, 230);
/* oklch */ color: oklch(76.3% 0.126 217.1);
Tailwind
colors: {
  custom: {
    50: '#86d7ee',
    500: '#31c5e6',
    950: '#000000',
  },
}
SCSS
$custom: #31c5e6;
$custom-light: #86d7ee;
$custom-dark: #000000;
JSON
{
  "hex": "#31c5e6",
  "rgb": {
    "r": 49,
    "g": 197,
    "b": 230
  },
  "hsl": {
    "h": 190.939,
    "s": 78.355,
    "l": 54.706
  },
  "oklch": {
    "l": 0.76288,
    "c": 0.12605,
    "h": 217.1
  },
  "luminance": 0.46299
}

Semantic roles & 50–950 ramp

primary
#31C5E6
secondary
#E0A193
accent
#5633F5
background
#F9FDFE
surface
#F1FAFD
border
#CBD3D5
text
#0D1416
muted
#7E8384

Preview Lab

Preview with #31C5E6

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

Preview Lab → · Contrast checker → · Palette generator →

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