#31A8C2#31A8C2

#31A8C2 is a light, moderate cyan. Relative luminance 0.326; OKLCH L 67.8% C 0.108 H 216.0°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#31A8C2
RGBrgb(49, 168, 194)
HSLhsl(191, 60%, 48%)
HSVhsv(191, 75%, 76%)
CMYKcmyk(74.7%, 13.4%, 0%, 23.9%)
CIE-LABlab(63.80, -23.57, -22.66)
CIE-LCHlch(63.80, 32.70, 223.86°)
OKLaboklab(67.85% -0.0871 -0.0632)
OKLCHoklch(67.85% 0.108 216)
XYZxyz(25.0027, 32.5503, 55.9936)
Luminance0.3255 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A8C2 #C24B31
analogous
#31C294 #31A8C2 #315FC2
triadic
#31A8C2 #C231A8 #A8C231
tetradic
#31A8C2 #9431C2 #C24B31 #5FC231
square
#31A8C2 #9431C2 #C24B31 #5FC231
split-complementary
#31A8C2 #C2315F #C29431
monochromatic
#185360 #257E91 #31A8C2 #5BBFD6 #8CD2E2

Accessibility & contrast

On white

2.80
#31A8C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#31A8C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A8C2
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A8C2#FFFFFF#000000##000000
##31A8C21.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A3C3
Deuteranopia (green-blind)
#8394C2
Tritanopia (blue-blind)
#00B1B0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31a8c2;
/* rgb */ color: rgb(49, 168, 194);
/* oklch */ color: oklch(67.8% 0.108 216.0);
Tailwind
colors: {
  custom: {
    50: '#7fc2d4',
    500: '#31a8c2',
    950: '#000000',
  },
}
SCSS
$custom: #31a8c2;
$custom-light: #7fc2d4;
$custom-dark: #000000;
JSON
{
  "hex": "#31a8c2",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 194
  },
  "hsl": {
    "h": 190.759,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.6785,
    "c": 0.10765,
    "h": 216
  },
  "luminance": 0.32553
}

Semantic roles & 50–950 ramp

primary
#31A8C2
secondary
#CC9083
accent
#6145E3
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #31A8C2

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

Preview Lab → · Contrast checker → · Palette generator →

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