#31A9D4#31A9D4

#31A9D4 is a light, moderate cyan. Relative luminance 0.338; OKLCH L 68.9% C 0.119 H 227.1°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#31A9D4
RGBrgb(49, 169, 212)
HSLhsl(196, 65%, 51%)
HSVhsv(196, 77%, 83%)
CMYKcmyk(76.9%, 20.3%, 0%, 16.9%)
CIE-LABlab(64.79, -18.19, -31.12)
CIE-LCHlch(64.79, 36.05, 239.70°)
OKLaboklab(68.88% -0.0812 -0.0874)
OKLCHoklch(68.88% 0.119 227.1)
XYZxyz(27.3334, 33.7790, 67.3540)
Luminance0.3378 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A9D4 #D45C31
analogous
#31D4AD #31A9D4 #3157D4
triadic
#31A9D4 #D431A9 #A9D431
tetradic
#31A9D4 #AD31D4 #D45C31 #57D431
square
#31A9D4 #AD31D4 #D45C31 #57D431
split-complementary
#31A9D4 #D43157 #D4AD31
monochromatic
#185B73 #2383A5 #31A9D4 #64BEDF #96D3E9

Accessibility & contrast

On white

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

On black

7.76
#31A9D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A9D4
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A9D4#FFFFFF#000000##000000
##31A9D41.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A6D6
Deuteranopia (green-blind)
#7C96D3
Tritanopia (blue-blind)
#00B5B7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31a9d4;
/* rgb */ color: rgb(49, 169, 212);
/* oklch */ color: oklch(68.9% 0.119 227.1);
Tailwind
colors: {
  custom: {
    50: '#81c2e1',
    500: '#31a9d4',
    950: '#000000',
  },
}
SCSS
$custom: #31a9d4;
$custom-light: #81c2e1;
$custom-dark: #000000;
JSON
{
  "hex": "#31a9d4",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 212
  },
  "hsl": {
    "h": 195.828,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.68875,
    "c": 0.11931,
    "h": 227.1
  },
  "luminance": 0.33782
}

Semantic roles & 50–950 ramp

primary
#31A9D4
secondary
#D49F8C
accent
#6C3FE8
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #31A9D4

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

Preview Lab → · Contrast checker → · Palette generator →

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