#31A0D3#31A0D3

#31A0D3 is a light, vivid cyan. Relative luminance 0.305; OKLCH L 66.7% C 0.122 H 233.3°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#31A0D3
RGBrgb(49, 160, 211)
HSLhsl(199, 65%, 51%)
HSVhsv(199, 77%, 83%)
CMYKcmyk(76.8%, 24.2%, 0%, 17.3%)
CIE-LABlab(62.08, -13.68, -34.77)
CIE-LCHlch(62.08, 37.37, 248.52°)
OKLaboklab(66.7% -0.0731 -0.098)
OKLCHoklch(66.7% 0.122 233.3)
XYZxyz(25.5906, 30.4946, 66.1527)
Luminance0.3050 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A0D3 #D36431
analogous
#31D3B5 #31A0D3 #314FD3
triadic
#31A0D3 #D331A0 #A0D331
tetradic
#31A0D3 #B531D3 #D36431 #4FD331
square
#31A0D3 #B531D3 #D36431 #4FD331
split-complementary
#31A0D3 #D3314F #D3B531
monochromatic
#185571 #237BA4 #31A0D3 #63B7DE #96CFE9

Accessibility & contrast

On white

2.96
#31A0D3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#31A0D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A0D3
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A0D3#FFFFFF#000000##000000
##31A0D31.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#879FD5
Deuteranopia (green-blind)
#718FD2
Tritanopia (blue-blind)
#00AEB1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31a0d3;
/* rgb */ color: rgb(49, 160, 211);
/* oklch */ color: oklch(66.7% 0.122 233.3);
Tailwind
colors: {
  custom: {
    50: '#81bce0',
    500: '#31a0d3',
    950: '#000000',
  },
}
SCSS
$custom: #31a0d3;
$custom-light: #81bce0;
$custom-dark: #000000;
JSON
{
  "hex": "#31a0d3",
  "rgb": {
    "r": 49,
    "g": 160,
    "b": 211
  },
  "hsl": {
    "h": 198.889,
    "s": 64.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.66698,
    "c": 0.12226,
    "h": 233.3
  },
  "luminance": 0.30498
}

Semantic roles & 50–950 ramp

primary
#31A0D3
secondary
#D4A38C
accent
#7540E8
background
#F8FBFD
surface
#F0F6FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #31A0D3

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

Preview Lab → · Contrast checker → · Palette generator →

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