#31A2C6#31A2C6

#31A2C6 is a light, moderate cyan. Relative luminance 0.306; OKLCH L 66.6% C 0.111 H 223.9°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#31A2C6
RGBrgb(49, 162, 198)
HSLhsl(194, 60%, 48%)
HSVhsv(194, 75%, 78%)
CMYKcmyk(75.3%, 18.2%, 0%, 22.4%)
CIE-LABlab(62.14, -19.14, -27.43)
CIE-LCHlch(62.14, 33.45, 235.09°)
OKLaboklab(66.57% -0.0797 -0.0768)
OKLCHoklch(66.57% 0.111 223.9)
XYZxyz(24.3758, 30.5679, 58.0306)
Luminance0.3057 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A2C6 #C65531
analogous
#31C69F #31A2C6 #3157C6
triadic
#31A2C6 #C631A2 #A2C631
tetradic
#31A2C6 #9F31C6 #C65531 #57C631
square
#31A2C6 #9F31C6 #C65531 #57C631
split-complementary
#31A2C6 #C63157 #C69F31
monochromatic
#195264 #257A95 #31A2C6 #5DBAD7 #8ECFE3

Accessibility & contrast

On white

2.95
#31A2C6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#31A2C6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A2C6
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A2C6#FFFFFF#000000##000000
##31A2C61.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E9EC8
Deuteranopia (green-blind)
#7A90C6
Tritanopia (blue-blind)
#00ADAE
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31a2c6;
/* rgb */ color: rgb(49, 162, 198);
/* oklch */ color: oklch(66.6% 0.111 223.9);
Tailwind
colors: {
  custom: {
    50: '#7fbdd7',
    500: '#31a2c6',
    950: '#000000',
  },
}
SCSS
$custom: #31a2c6;
$custom-light: #7fbdd7;
$custom-dark: #000000;
JSON
{
  "hex": "#31a2c6",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 198
  },
  "hsl": {
    "h": 194.497,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.66571,
    "c": 0.11073,
    "h": 223.9
  },
  "luminance": 0.30571
}

Semantic roles & 50–950 ramp

primary
#31A2C6
secondary
#CE9785
accent
#6B44E3
background
#F8FBFD
surface
#F0F6FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #31A2C6

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

Preview Lab → · Contrast checker → · Palette generator →

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