#31A5D3#31A5D3

#31A5D3 is a light, moderate cyan. Relative luminance 0.323; OKLCH L 67.9% C 0.120 H 229.6°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#31A5D3
RGBrgb(49, 165, 211)
HSLhsl(197, 65%, 51%)
HSVhsv(197, 77%, 83%)
CMYKcmyk(76.8%, 21.8%, 0%, 17.3%)
CIE-LABlab(63.56, -16.39, -32.47)
CIE-LCHlch(63.56, 36.37, 243.22°)
OKLaboklab(67.88% -0.0778 -0.0913)
OKLCHoklch(67.88% 0.12 229.6)
XYZxyz(26.4748, 32.2632, 66.4475)
Luminance0.3227 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A5D3 #D35F31
analogous
#31D3B0 #31A5D3 #3154D3
triadic
#31A5D3 #D331A5 #A5D331
tetradic
#31A5D3 #B031D3 #D35F31 #54D331
square
#31A5D3 #B031D3 #D35F31 #54D331
split-complementary
#31A5D3 #D33154 #D3B031
monochromatic
#185871 #237FA4 #31A5D3 #63BBDE #96D1E9

Accessibility & contrast

On white

2.82
#31A5D3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#31A5D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A5D3
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A5D3#FFFFFF#000000##000000
##31A5D31.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA3D5
Deuteranopia (green-blind)
#7893D2
Tritanopia (blue-blind)
#00B2B4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31a5d3;
/* rgb */ color: rgb(49, 165, 211);
/* oklch */ color: oklch(67.9% 0.120 229.6);
Tailwind
colors: {
  custom: {
    50: '#81bfe0',
    500: '#31a5d3',
    950: '#000000',
  },
}
SCSS
$custom: #31a5d3;
$custom-light: #81bfe0;
$custom-dark: #000000;
JSON
{
  "hex": "#31a5d3",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 211
  },
  "hsl": {
    "h": 197.037,
    "s": 64.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.6788,
    "c": 0.11997,
    "h": 229.6
  },
  "luminance": 0.32266
}

Semantic roles & 50–950 ramp

primary
#31A5D3
secondary
#D4A08C
accent
#7040E8
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #31A5D3

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

Preview Lab → · Contrast checker → · Palette generator →

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