#31A4C2#31A4C2

#31A4C2 is a light, moderate cyan. Relative luminance 0.311; OKLCH L 66.9% C 0.108 H 219.5°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#31A4C2
RGBrgb(49, 164, 194)
HSLhsl(192, 60%, 48%)
HSVhsv(192, 75%, 76%)
CMYKcmyk(74.7%, 15.5%, 0%, 23.9%)
CIE-LABlab(62.59, -21.51, -24.51)
CIE-LCHlch(62.59, 32.61, 228.73°)
OKLaboklab(66.88% -0.0832 -0.0685)
OKLCHoklch(66.88% 0.108 219.5)
XYZxyz(24.2756, 31.0960, 55.7512)
Luminance0.3110 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A4C2 #C24F31
analogous
#31C298 #31A4C2 #315BC2
triadic
#31A4C2 #C231A4 #A4C231
tetradic
#31A4C2 #9831C2 #C24F31 #5BC231
square
#31A4C2 #9831C2 #C24F31 #5BC231
split-complementary
#31A4C2 #C2315B #C29831
monochromatic
#185160 #257B91 #31A4C2 #5BBCD6 #8CD0E2

Accessibility & contrast

On white

2.91
#31A4C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#31A4C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A4C2
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A4C2#FFFFFF#000000##000000
##31A4C21.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#919FC4
Deuteranopia (green-blind)
#7E91C2
Tritanopia (blue-blind)
#00AEAE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31a4c2;
/* rgb */ color: rgb(49, 164, 194);
/* oklch */ color: oklch(66.9% 0.108 219.5);
Tailwind
colors: {
  custom: {
    50: '#7ebfd4',
    500: '#31a4c2',
    950: '#000000',
  },
}
SCSS
$custom: #31a4c2;
$custom-light: #7ebfd4;
$custom-dark: #000000;
JSON
{
  "hex": "#31a4c2",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 194
  },
  "hsl": {
    "h": 192.414,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.66879,
    "c": 0.10778,
    "h": 219.5
  },
  "luminance": 0.31099
}

Semantic roles & 50–950 ramp

primary
#31A4C2
secondary
#CC9283
accent
#6645E3
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0B1214
muted
#7C8183

Preview Lab

Preview with #31A4C2

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

Preview Lab → · Contrast checker → · Palette generator →

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