#31A2C8#31A2C8

#31A2C8 is a light, moderate cyan. Relative luminance 0.307; OKLCH L 66.7% C 0.112 H 225.3°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#31A2C8
RGBrgb(49, 162, 200)
HSLhsl(195, 61%, 49%)
HSVhsv(195, 76%, 78%)
CMYKcmyk(75.5%, 19%, 0%, 21.6%)
CIE-LABlab(62.22, -18.48, -28.42)
CIE-LCHlch(62.22, 33.90, 236.97°)
OKLaboklab(66.66% -0.079 -0.0797)
OKLCHoklch(66.66% 0.112 225.3)
XYZxyz(24.6080, 30.6608, 59.2536)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A2C8 #C85731
analogous
#31C8A3 #31A2C8 #3157C8
triadic
#31A2C8 #C831A2 #A2C831
tetradic
#31A2C8 #A331C8 #C85731 #57C831
square
#31A2C8 #A331C8 #C85731 #57C831
split-complementary
#31A2C8 #C83157 #C8A331
monochromatic
#195266 #257A97 #31A2C8 #5FB9D8 #90CFE4

Accessibility & contrast

On white

2.94
#31A2C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#31A2C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A2C8
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A2C8#FFFFFF#000000##000000
##31A2C81.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D9FCA
Deuteranopia (green-blind)
#7990C8
Tritanopia (blue-blind)
#00ADAE
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31a2c8;
/* rgb */ color: rgb(49, 162, 200);
/* oklch */ color: oklch(66.7% 0.112 225.3);
Tailwind
colors: {
  custom: {
    50: '#7fbdd8',
    500: '#31a2c8',
    950: '#000000',
  },
}
SCSS
$custom: #31a2c8;
$custom-light: #7fbdd8;
$custom-dark: #000000;
JSON
{
  "hex": "#31a2c8",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 200
  },
  "hsl": {
    "h": 195.099,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.66661,
    "c": 0.1122,
    "h": 225.3
  },
  "luminance": 0.30664
}

Semantic roles & 50–950 ramp

primary
#31A2C8
secondary
#CE9986
accent
#6C44E4
background
#F8FBFD
surface
#F0F6FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #31A2C8

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

Preview Lab → · Contrast checker → · Palette generator →

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