#31ACC5#31ACC5

#31ACC5 is a light, moderate cyan. Relative luminance 0.342; OKLCH L 68.9% C 0.109 H 214.7°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#31ACC5
RGBrgb(49, 172, 197)
HSLhsl(190, 60%, 48%)
HSVhsv(190, 75%, 77%)
CMYKcmyk(75.1%, 12.7%, 0%, 22.7%)
CIE-LABlab(65.11, -24.65, -22.31)
CIE-LCHlch(65.11, 33.25, 222.15°)
OKLaboklab(68.95% -0.0898 -0.0622)
OKLCHoklch(68.95% 0.109 214.7)
XYZxyz(26.0929, 34.1861, 58.0359)
Luminance0.3419 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31ACC5 #C54A31
analogous
#31C594 #31ACC5 #3162C5
triadic
#31ACC5 #C531AC #ACC531
tetradic
#31ACC5 #9431C5 #C54A31 #62C531
square
#31ACC5 #9431C5 #C54A31 #62C531
split-complementary
#31ACC5 #C53162 #C59431
monochromatic
#195663 #258194 #31ACC5 #5DC2D7 #8ED4E3

Accessibility & contrast

On white

2.68
#31ACC5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#31ACC5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31ACC5
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31ACC5#FFFFFF#000000##000000
##31ACC51.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA6C6
Deuteranopia (green-blind)
#8698C5
Tritanopia (blue-blind)
#00B5B4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31acc5;
/* rgb */ color: rgb(49, 172, 197);
/* oklch */ color: oklch(68.9% 0.109 214.7);
Tailwind
colors: {
  custom: {
    50: '#80c5d6',
    500: '#31acc5',
    950: '#000000',
  },
}
SCSS
$custom: #31acc5;
$custom-light: #80c5d6;
$custom-dark: #000000;
JSON
{
  "hex": "#31acc5",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 197
  },
  "hsl": {
    "h": 190.135,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.68945,
    "c": 0.10929,
    "h": 214.7
  },
  "luminance": 0.34189
}

Semantic roles & 50–950 ramp

primary
#31ACC5
secondary
#CD9185
accent
#5F44E3
background
#F8FCFD
surface
#F0F8FA
border
#CBD1D3
text
#0C1314
muted
#7D8283

Preview Lab

Preview with #31ACC5

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

Preview Lab → · Contrast checker → · Palette generator →

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