#31A8CA#31A8CA

#31A8CA is a light, moderate cyan. Relative luminance 0.329; OKLCH L 68.2% C 0.112 H 221.6°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#31A8CA
RGBrgb(49, 168, 202)
HSLhsl(193, 61%, 49%)
HSVhsv(193, 76%, 79%)
CMYKcmyk(75.7%, 16.8%, 0%, 20.8%)
CIE-LABlab(64.10, -20.98, -26.65)
CIE-LCHlch(64.10, 33.91, 231.79°)
OKLaboklab(68.19% -0.084 -0.0746)
OKLCHoklch(68.19% 0.112 221.6)
XYZxyz(25.9255, 32.9194, 60.8534)
Luminance0.3292 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A8CA #CA5331
analogous
#31CAA0 #31A8CA #315CCA
triadic
#31A8CA #CA31A8 #A8CA31
tetradic
#31A8CA #A031CA #CA5331 #5CCA31
square
#31A8CA #A031CA #CA5331 #5CCA31
split-complementary
#31A8CA #CA315C #CAA031
monochromatic
#195667 #257F99 #31A8CA #60BED8 #91D2E4

Accessibility & contrast

On white

2.77
#31A8CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#31A8CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A8CA
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A8CA#FFFFFF#000000##000000
##31A8CA1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A4CC
Deuteranopia (green-blind)
#7F95CA
Tritanopia (blue-blind)
#00B3B3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31a8ca;
/* rgb */ color: rgb(49, 168, 202);
/* oklch */ color: oklch(68.2% 0.112 221.6);
Tailwind
colors: {
  custom: {
    50: '#80c2da',
    500: '#31a8ca',
    950: '#000000',
  },
}
SCSS
$custom: #31a8ca;
$custom-light: #80c2da;
$custom-dark: #000000;
JSON
{
  "hex": "#31a8ca",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 202
  },
  "hsl": {
    "h": 193.333,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.68191,
    "c": 0.11234,
    "h": 221.6
  },
  "luminance": 0.32922
}

Semantic roles & 50–950 ramp

primary
#31A8CA
secondary
#CF9888
accent
#6744E4
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #31A8CA

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

Preview Lab → · Contrast checker → · Palette generator →

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