#31AACC#31AACC

#31AACC is a light, moderate cyan. Relative luminance 0.338; OKLCH L 68.8% C 0.113 H 221.3°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#31AACC
RGBrgb(49, 170, 204)
HSLhsl(193, 61%, 50%)
HSVhsv(193, 76%, 80%)
CMYKcmyk(76%, 16.7%, 0%, 20%)
CIE-LABlab(64.77, -21.36, -26.72)
CIE-LCHlch(64.77, 34.21, 231.36°)
OKLaboklab(68.76% -0.0852 -0.0748)
OKLCHoklch(68.76% 0.113 221.3)
XYZxyz(26.5359, 33.7588, 62.2326)
Luminance0.3376 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AACC #CC5331
analogous
#31CCA0 #31AACC #315DCC
triadic
#31AACC #CC31AA #AACC31
tetradic
#31AACC #A031CC #CC5331 #5DCC31
square
#31AACC #A031CC #CC5331 #5DCC31
split-complementary
#31AACC #CC315D #CCA031
monochromatic
#195869 #25819B #31AACC #61BFD9 #92D3E5

Accessibility & contrast

On white

2.71
#31AACC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#31AACC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AACC
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AACC#FFFFFF#000000##000000
##31AACC1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A6CE
Deuteranopia (green-blind)
#8197CC
Tritanopia (blue-blind)
#00B5B5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31aacc;
/* rgb */ color: rgb(49, 170, 204);
/* oklch */ color: oklch(68.8% 0.113 221.3);
Tailwind
colors: {
  custom: {
    50: '#80c3db',
    500: '#31aacc',
    950: '#000000',
  },
}
SCSS
$custom: #31aacc;
$custom-light: #80c3db;
$custom-dark: #000000;
JSON
{
  "hex": "#31aacc",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 204
  },
  "hsl": {
    "h": 193.161,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.68758,
    "c": 0.11333,
    "h": 221.3
  },
  "luminance": 0.33762
}

Semantic roles & 50–950 ramp

primary
#31AACC
secondary
#D09989
accent
#6743E4
background
#F8FCFD
surface
#F0F8FB
border
#CBD1D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #31AACC

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

Preview Lab → · Contrast checker → · Palette generator →

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