#31A3C2#31A3C2

#31A3C2 is a light, moderate cyan. Relative luminance 0.307; OKLCH L 66.6% C 0.108 H 220.3°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#31A3C2
RGBrgb(49, 163, 194)
HSLhsl(193, 60%, 48%)
HSVhsv(193, 75%, 76%)
CMYKcmyk(74.7%, 16%, 0%, 23.9%)
CIE-LABlab(62.29, -20.99, -24.97)
CIE-LCHlch(62.29, 32.62, 229.95°)
OKLaboklab(66.64% -0.0822 -0.0698)
OKLCHoklch(66.64% 0.108 220.3)
XYZxyz(24.0973, 30.7395, 55.6918)
Luminance0.3074 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A3C2 #C25031
analogous
#31C299 #31A3C2 #315AC2
triadic
#31A3C2 #C231A3 #A3C231
tetradic
#31A3C2 #9931C2 #C25031 #5AC231
square
#31A3C2 #9931C2 #C25031 #5AC231
split-complementary
#31A3C2 #C2315A #C29931
monochromatic
#185160 #257A91 #31A3C2 #5BBBD6 #8CCFE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A3C2#FFFFFF#000000##000000
##31A3C21.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)
#909FC4
Deuteranopia (green-blind)
#7D90C2
Tritanopia (blue-blind)
#00ADAD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31a3c2;
/* rgb */ color: rgb(49, 163, 194);
/* oklch */ color: oklch(66.6% 0.108 220.3);
Tailwind
colors: {
  custom: {
    50: '#7ebed4',
    500: '#31a3c2',
    950: '#000000',
  },
}
SCSS
$custom: #31a3c2;
$custom-light: #7ebed4;
$custom-dark: #000000;
JSON
{
  "hex": "#31a3c2",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 194
  },
  "hsl": {
    "h": 192.828,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.66637,
    "c": 0.10787,
    "h": 220.3
  },
  "luminance": 0.30742
}

Semantic roles & 50–950 ramp

primary
#31A3C2
secondary
#CC9283
accent
#6745E3
background
#F8FBFD
surface
#F0F6FA
border
#CBD0D3
text
#0B1214
muted
#7C8183

Preview Lab

Preview with #31A3C2

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

Preview Lab → · Contrast checker → · Palette generator →

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