#31A1C8#31A1C8

#31A1C8 is a light, moderate cyan. Relative luminance 0.303; OKLCH L 66.4% C 0.112 H 226.1°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#31A1C8
RGBrgb(49, 161, 200)
HSLhsl(195, 61%, 49%)
HSVhsv(195, 76%, 78%)
CMYKcmyk(75.5%, 19.5%, 0%, 21.6%)
CIE-LABlab(61.92, -17.95, -28.89)
CIE-LCHlch(61.92, 34.01, 238.14°)
OKLaboklab(66.42% -0.078 -0.081)
OKLCHoklch(66.42% 0.112 226.1)
XYZxyz(24.4325, 30.3099, 59.1951)
Luminance0.3031 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A1C8 #C85831
analogous
#31C8A4 #31A1C8 #3155C8
triadic
#31A1C8 #C831A1 #A1C831
tetradic
#31A1C8 #A431C8 #C85831 #55C831
square
#31A1C8 #A431C8 #C85831 #55C831
split-complementary
#31A1C8 #C83155 #C8A431
monochromatic
#195266 #257997 #31A1C8 #5FB8D8 #90CEE4

Accessibility & contrast

On white

2.97
#31A1C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#31A1C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A1C8
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A1C8#FFFFFF#000000##000000
##31A1C81.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9ECA
Deuteranopia (green-blind)
#788FC8
Tritanopia (blue-blind)
#00ACAE
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31a1c8;
/* rgb */ color: rgb(49, 161, 200);
/* oklch */ color: oklch(66.4% 0.112 226.1);
Tailwind
colors: {
  custom: {
    50: '#7fbdd8',
    500: '#31a1c8',
    950: '#000000',
  },
}
SCSS
$custom: #31a1c8;
$custom-light: #7fbdd8;
$custom-dark: #000000;
JSON
{
  "hex": "#31a1c8",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 200
  },
  "hsl": {
    "h": 195.497,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.66421,
    "c": 0.11247,
    "h": 226.1
  },
  "luminance": 0.30313
}

Semantic roles & 50–950 ramp

primary
#31A1C8
secondary
#CE9986
accent
#6D44E4
background
#F8FBFD
surface
#F0F6FA
border
#CBD0D3
text
#0C1214
muted
#7D8183

Preview Lab

Preview with #31A1C8

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

Preview Lab → · Contrast checker → · Palette generator →

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