#31A2CA#31A2CA

#31A2CA is a light, moderate cyan. Relative luminance 0.308; OKLCH L 66.8% C 0.114 H 226.5°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#31A2CA
RGBrgb(49, 162, 202)
HSLhsl(196, 61%, 49%)
HSVhsv(196, 76%, 79%)
CMYKcmyk(75.7%, 19.8%, 0%, 20.8%)
CIE-LABlab(62.30, -17.81, -29.42)
CIE-LCHlch(62.30, 34.39, 238.80°)
OKLaboklab(66.75% -0.0782 -0.0825)
OKLCHoklch(66.75% 0.114 226.5)
XYZxyz(24.8432, 30.7549, 60.4926)
Luminance0.3076 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A2CA #CA5931
analogous
#31CAA6 #31A2CA #3156CA
triadic
#31A2CA #CA31A2 #A2CA31
tetradic
#31A2CA #A631CA #CA5931 #56CA31
square
#31A2CA #A631CA #CA5931 #56CA31
split-complementary
#31A2CA #CA3156 #CAA631
monochromatic
#195367 #257B99 #31A2CA #60B9D8 #91CFE4

Accessibility & contrast

On white

2.94
#31A2CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#31A2CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A2CA
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A2CA#FFFFFF#000000##000000
##31A2CA1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9FCC
Deuteranopia (green-blind)
#7890CA
Tritanopia (blue-blind)
#00AEAF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31a2ca;
/* rgb */ color: rgb(49, 162, 202);
/* oklch */ color: oklch(66.8% 0.114 226.5);
Tailwind
colors: {
  custom: {
    50: '#7fbdda',
    500: '#31a2ca',
    950: '#000000',
  },
}
SCSS
$custom: #31a2ca;
$custom-light: #7fbdda;
$custom-dark: #000000;
JSON
{
  "hex": "#31a2ca",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 202
  },
  "hsl": {
    "h": 195.686,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.66751,
    "c": 0.11372,
    "h": 226.5
  },
  "luminance": 0.30758
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31A2CA

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

Preview Lab → · Contrast checker → · Palette generator →

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