#31A5C4#31A5C4

#31A5C4 is a light, moderate cyan. Relative luminance 0.315; OKLCH L 67.2% C 0.109 H 220.0°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#31A5C4
RGBrgb(49, 165, 196)
HSLhsl(193, 60%, 48%)
HSVhsv(193, 75%, 77%)
CMYKcmyk(75%, 15.8%, 0%, 23.1%)
CIE-LABlab(62.97, -21.38, -25.04)
CIE-LCHlch(62.97, 32.93, 229.52°)
OKLaboklab(67.21% -0.0834 -0.07)
OKLCHoklch(67.21% 0.109 220)
XYZxyz(24.6814, 31.5458, 57.0020)
Luminance0.3155 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A5C4 #C45031
analogous
#31C499 #31A5C4 #315BC4
triadic
#31A5C4 #C431A5 #A5C431
tetradic
#31A5C4 #9931C4 #C45031 #5BC431
square
#31A5C4 #9931C4 #C45031 #5BC431
split-complementary
#31A5C4 #C4315B #C49931
monochromatic
#195362 #257C93 #31A5C4 #5CBCD6 #8DD0E2

Accessibility & contrast

On white

2.87
#31A5C4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#31A5C4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A5C4
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A5C4#FFFFFF#000000##000000
##31A5C41.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A1C6
Deuteranopia (green-blind)
#7E92C4
Tritanopia (blue-blind)
#00AFAF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31a5c4;
/* rgb */ color: rgb(49, 165, 196);
/* oklch */ color: oklch(67.2% 0.109 220.0);
Tailwind
colors: {
  custom: {
    50: '#7fc0d6',
    500: '#31a5c4',
    950: '#000000',
  },
}
SCSS
$custom: #31a5c4;
$custom-light: #7fc0d6;
$custom-dark: #000000;
JSON
{
  "hex": "#31a5c4",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 196
  },
  "hsl": {
    "h": 192.653,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.67208,
    "c": 0.1089,
    "h": 220
  },
  "luminance": 0.31549
}

Semantic roles & 50–950 ramp

primary
#31A5C4
secondary
#CD9384
accent
#6645E3
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #31A5C4

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

Preview Lab → · Contrast checker → · Palette generator →

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