#31A2C2#31A2C2

#31A2C2 is a light, moderate cyan. Relative luminance 0.304; OKLCH L 66.4% C 0.108 H 221.2°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#31A2C2
RGBrgb(49, 162, 194)
HSLhsl(193, 60%, 48%)
HSVhsv(193, 75%, 76%)
CMYKcmyk(74.7%, 16.5%, 0%, 23.9%)
CIE-LABlab(61.99, -20.46, -25.43)
CIE-LCHlch(61.99, 32.64, 231.18°)
OKLaboklab(66.4% -0.0813 -0.0711)
OKLCHoklch(66.4% 0.108 221.2)
XYZxyz(23.9205, 30.3858, 55.6328)
Luminance0.3039 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A2C2 #C25131
analogous
#31C299 #31A2C2 #315AC2
triadic
#31A2C2 #C231A2 #A2C231
tetradic
#31A2C2 #9931C2 #C25131 #5AC231
square
#31A2C2 #9931C2 #C25131 #5AC231
split-complementary
#31A2C2 #C2315A #C29931
monochromatic
#185060 #257991 #31A2C2 #5BBAD6 #8CCFE2

Accessibility & contrast

On white

2.97
#31A2C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#31A2C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A2C2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A2C2#FFFFFF#000000##000000
##31A2C21.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F9EC4
Deuteranopia (green-blind)
#7B90C2
Tritanopia (blue-blind)
#00ACAC
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31a2c2;
/* rgb */ color: rgb(49, 162, 194);
/* oklch */ color: oklch(66.4% 0.108 221.2);
Tailwind
colors: {
  custom: {
    50: '#7ebdd4',
    500: '#31a2c2',
    950: '#000000',
  },
}
SCSS
$custom: #31a2c2;
$custom-light: #7ebdd4;
$custom-dark: #000000;
JSON
{
  "hex": "#31a2c2",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 194
  },
  "hsl": {
    "h": 193.241,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.66395,
    "c": 0.108,
    "h": 221.2
  },
  "luminance": 0.30389
}

Semantic roles & 50–950 ramp

primary
#31A2C2
secondary
#CC9383
accent
#6845E3
background
#F8FBFD
surface
#F0F6FA
border
#CBD0D3
text
#0B1214
muted
#7C8183

Preview Lab

Preview with #31A2C2

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

Preview Lab → · Contrast checker → · Palette generator →

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