#31A5CA#31A5CA

#31A5CA is a light, moderate cyan. Relative luminance 0.318; OKLCH L 67.5% C 0.113 H 224.1°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#31A5CA
RGBrgb(49, 165, 202)
HSLhsl(195, 61%, 49%)
HSVhsv(195, 76%, 79%)
CMYKcmyk(75.7%, 18.3%, 0%, 20.8%)
CIE-LABlab(63.20, -19.40, -28.03)
CIE-LCHlch(63.20, 34.09, 235.31°)
OKLaboklab(67.47% -0.0811 -0.0785)
OKLCHoklch(67.47% 0.113 224.1)
XYZxyz(25.3780, 31.8245, 60.6709)
Luminance0.3183 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A5CA #CA5631
analogous
#31CAA3 #31A5CA #3159CA
triadic
#31A5CA #CA31A5 #A5CA31
tetradic
#31A5CA #A331CA #CA5631 #59CA31
square
#31A5CA #A331CA #CA5631 #59CA31
split-complementary
#31A5CA #CA3159 #CAA331
monochromatic
#195567 #257D99 #31A5CA #60BBD8 #91D0E4

Accessibility & contrast

On white

2.85
#31A5CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#31A5CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A5CA
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A5CA#FFFFFF#000000##000000
##31A5CA1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A1CC
Deuteranopia (green-blind)
#7C93CA
Tritanopia (blue-blind)
#00B0B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31a5ca;
/* rgb */ color: rgb(49, 165, 202);
/* oklch */ color: oklch(67.5% 0.113 224.1);
Tailwind
colors: {
  custom: {
    50: '#80bfda',
    500: '#31a5ca',
    950: '#000000',
  },
}
SCSS
$custom: #31a5ca;
$custom-light: #80bfda;
$custom-dark: #000000;
JSON
{
  "hex": "#31a5ca",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 202
  },
  "hsl": {
    "h": 194.51,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.6747,
    "c": 0.11292,
    "h": 224.1
  },
  "luminance": 0.31828
}

Semantic roles & 50–950 ramp

primary
#31A5CA
secondary
#CF9988
accent
#6B44E4
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #31A5CA

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

Preview Lab → · Contrast checker → · Palette generator →

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