#31A6D3#31A6D3

#31A6D3 is a light, moderate cyan. Relative luminance 0.326; OKLCH L 68.1% C 0.120 H 228.8°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#31A6D3
RGBrgb(49, 166, 211)
HSLhsl(197, 65%, 51%)
HSVhsv(197, 77%, 83%)
CMYKcmyk(76.8%, 21.3%, 0%, 17.3%)
CIE-LABlab(63.86, -16.93, -32.01)
CIE-LCHlch(63.86, 36.21, 242.13°)
OKLaboklab(68.12% -0.0788 -0.09)
OKLCHoklch(68.12% 0.12 228.8)
XYZxyz(26.6559, 32.6253, 66.5078)
Luminance0.3263 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A6D3 #D35E31
analogous
#31D3AF #31A6D3 #3155D3
triadic
#31A6D3 #D331A6 #A6D331
tetradic
#31A6D3 #AF31D3 #D35E31 #55D331
square
#31A6D3 #AF31D3 #D35E31 #55D331
split-complementary
#31A6D3 #D33155 #D3AF31
monochromatic
#185971 #2380A4 #31A6D3 #63BCDE #96D2E9

Accessibility & contrast

On white

2.79
#31A6D3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#31A6D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A6D3
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A6D3#FFFFFF#000000##000000
##31A6D31.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA3D5
Deuteranopia (green-blind)
#7994D2
Tritanopia (blue-blind)
#00B3B5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31a6d3;
/* rgb */ color: rgb(49, 166, 211);
/* oklch */ color: oklch(68.1% 0.120 228.8);
Tailwind
colors: {
  custom: {
    50: '#81c0e0',
    500: '#31a6d3',
    950: '#000000',
  },
}
SCSS
$custom: #31a6d3;
$custom-light: #81c0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#31a6d3",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 211
  },
  "hsl": {
    "h": 196.667,
    "s": 64.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.68117,
    "c": 0.11957,
    "h": 228.8
  },
  "luminance": 0.32629
}

Semantic roles & 50–950 ramp

primary
#31A6D3
secondary
#D4A08C
accent
#6F40E8
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #31A6D3

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

Preview Lab → · Contrast checker → · Palette generator →

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