#31A0C8#31A0C8

#31A0C8 is a light, moderate cyan. Relative luminance 0.300; OKLCH L 66.2% C 0.113 H 226.9°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#31A0C8
RGBrgb(49, 160, 200)
HSLhsl(196, 61%, 49%)
HSVhsv(196, 76%, 78%)
CMYKcmyk(75.5%, 20%, 0%, 21.6%)
CIE-LABlab(61.62, -17.41, -29.35)
CIE-LCHlch(61.62, 34.13, 239.32°)
OKLaboklab(66.18% -0.077 -0.0824)
OKLCHoklch(66.18% 0.113 226.9)
XYZxyz(24.2585, 29.9618, 59.1371)
Luminance0.2997 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A0C8 #C85931
analogous
#31C8A5 #31A0C8 #3155C8
triadic
#31A0C8 #C831A0 #A0C831
tetradic
#31A0C8 #A531C8 #C85931 #55C831
square
#31A0C8 #A531C8 #C85931 #55C831
split-complementary
#31A0C8 #C83155 #C8A531
monochromatic
#195166 #257997 #31A0C8 #5FB8D8 #90CDE4

Accessibility & contrast

On white

3.00
#31A0C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#31A0C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A0C8
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A0C8#FFFFFF#000000##000000
##31A0C81.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9DCA
Deuteranopia (green-blind)
#768EC7
Tritanopia (blue-blind)
#00ACAD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31a0c8;
/* rgb */ color: rgb(49, 160, 200);
/* oklch */ color: oklch(66.2% 0.113 226.9);
Tailwind
colors: {
  custom: {
    50: '#7fbcd8',
    500: '#31a0c8',
    950: '#000000',
  },
}
SCSS
$custom: #31a0c8;
$custom-light: #7fbcd8;
$custom-dark: #000000;
JSON
{
  "hex": "#31a0c8",
  "rgb": {
    "r": 49,
    "g": 160,
    "b": 200
  },
  "hsl": {
    "h": 195.894,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.66181,
    "c": 0.11278,
    "h": 226.9
  },
  "luminance": 0.29965
}

Semantic roles & 50–950 ramp

primary
#31A0C8
secondary
#CE9A86
accent
#6E44E4
background
#F8FBFD
surface
#F0F6FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #31A0C8

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

Preview Lab → · Contrast checker → · Palette generator →

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