#31A2C0#31A2C0

#31A2C0 is a light, moderate cyan. Relative luminance 0.303; OKLCH L 66.3% C 0.107 H 219.8°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#31A2C0
RGBrgb(49, 162, 192)
HSLhsl(193, 59%, 47%)
HSVhsv(193, 74%, 75%)
CMYKcmyk(74.5%, 15.6%, 0%, 24.7%)
CIE-LABlab(61.91, -21.12, -24.43)
CIE-LCHlch(61.91, 32.29, 229.16°)
OKLaboklab(66.31% -0.082 -0.0683)
OKLCHoklch(66.31% 0.107 219.8)
XYZxyz(23.6974, 30.2966, 54.4578)
Luminance0.3030 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A2C0 #C04F31
analogous
#31C096 #31A2C0 #315BC0
triadic
#31A2C0 #C031A2 #A2C031
tetradic
#31A2C0 #9631C0 #C04F31 #5BC031
square
#31A2C0 #9631C0 #C04F31 #5BC031
split-complementary
#31A2C0 #C0315B #C09631
monochromatic
#18505E #25798F #31A2C0 #59BBD5 #8ACFE1

Accessibility & contrast

On white

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

On black

7.06
#31A2C0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A2C0
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A2C0#FFFFFF#000000##000000
##31A2C01.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#909EC2
Deuteranopia (green-blind)
#7C8FC0
Tritanopia (blue-blind)
#00ACAC
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31a2c0;
/* rgb */ color: rgb(49, 162, 192);
/* oklch */ color: oklch(66.3% 0.107 219.8);
Tailwind
colors: {
  custom: {
    50: '#7ebdd3',
    500: '#31a2c0',
    950: '#000000',
  },
}
SCSS
$custom: #31a2c0;
$custom-light: #7ebdd3;
$custom-dark: #000000;
JSON
{
  "hex": "#31a2c0",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 192
  },
  "hsl": {
    "h": 192.587,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.66309,
    "c": 0.10674,
    "h": 219.8
  },
  "luminance": 0.30299
}

Semantic roles & 50–950 ramp

primary
#31A2C0
secondary
#CB9182
accent
#6645E3
background
#F8FBFC
surface
#F0F6F9
border
#CBD0D2
text
#0B1214
muted
#7C8182

Preview Lab

Preview with #31A2C0

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

Preview Lab → · Contrast checker → · Palette generator →

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