#31A5C8#31A5C8

#31A5C8 is a light, moderate cyan. Relative luminance 0.317; OKLCH L 67.4% C 0.112 H 222.8°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#31A5C8
RGBrgb(49, 165, 200)
HSLhsl(194, 61%, 49%)
HSVhsv(194, 76%, 78%)
CMYKcmyk(75.5%, 17.5%, 0%, 21.6%)
CIE-LABlab(63.12, -20.06, -27.04)
CIE-LCHlch(63.12, 33.67, 233.42°)
OKLaboklab(67.38% -0.0819 -0.0757)
OKLCHoklch(67.38% 0.112 222.8)
XYZxyz(25.1427, 31.7303, 59.4318)
Luminance0.3173 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A5C8 #C85431
analogous
#31C8A0 #31A5C8 #315AC8
triadic
#31A5C8 #C831A5 #A5C831
tetradic
#31A5C8 #A031C8 #C85431 #5AC831
square
#31A5C8 #A031C8 #C85431 #5AC831
split-complementary
#31A5C8 #C8315A #C8A031
monochromatic
#195466 #257C97 #31A5C8 #5FBCD8 #90D0E4

Accessibility & contrast

On white

2.86
#31A5C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#31A5C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A5C8
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A5C8#FFFFFF#000000##000000
##31A5C81.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A1CA
Deuteranopia (green-blind)
#7D92C8
Tritanopia (blue-blind)
#00B0B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31a5c8;
/* rgb */ color: rgb(49, 165, 200);
/* oklch */ color: oklch(67.4% 0.112 222.8);
Tailwind
colors: {
  custom: {
    50: '#7fbfd8',
    500: '#31a5c8',
    950: '#000000',
  },
}
SCSS
$custom: #31a5c8;
$custom-light: #7fbfd8;
$custom-dark: #000000;
JSON
{
  "hex": "#31a5c8",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 200
  },
  "hsl": {
    "h": 193.907,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.67382,
    "c": 0.1115,
    "h": 222.8
  },
  "luminance": 0.31733
}

Semantic roles & 50–950 ramp

primary
#31A5C8
secondary
#CE9786
accent
#6944E4
background
#F8FBFD
surface
#F0F7FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #31A5C8

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

Preview Lab → · Contrast checker → · Palette generator →

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