#31A6C8#31A6C8

#31A6C8 is a light, moderate cyan. Relative luminance 0.321; OKLCH L 67.6% C 0.111 H 221.9°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#31A6C8
RGBrgb(49, 166, 200)
HSLhsl(194, 61%, 49%)
HSVhsv(194, 76%, 78%)
CMYKcmyk(75.5%, 17%, 0%, 21.6%)
CIE-LABlab(63.42, -20.59, -26.57)
CIE-LCHlch(63.42, 33.62, 232.23°)
OKLaboklab(67.62% -0.0828 -0.0744)
OKLCHoklch(67.62% 0.111 221.9)
XYZxyz(25.3238, 32.0925, 59.4922)
Luminance0.3210 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A6C8 #C85331
analogous
#31C89F #31A6C8 #315BC8
triadic
#31A6C8 #C831A6 #A6C831
tetradic
#31A6C8 #9F31C8 #C85331 #5BC831
square
#31A6C8 #9F31C8 #C85331 #5BC831
split-complementary
#31A6C8 #C8315B #C89F31
monochromatic
#195466 #257D97 #31A6C8 #5FBCD8 #90D1E4

Accessibility & contrast

On white

2.83
#31A6C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#31A6C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A6C8
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A6C8#FFFFFF#000000##000000
##31A6C81.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A2CA
Deuteranopia (green-blind)
#7E93C8
Tritanopia (blue-blind)
#00B1B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31a6c8;
/* rgb */ color: rgb(49, 166, 200);
/* oklch */ color: oklch(67.6% 0.111 221.9);
Tailwind
colors: {
  custom: {
    50: '#7fc0d8',
    500: '#31a6c8',
    950: '#000000',
  },
}
SCSS
$custom: #31a6c8;
$custom-light: #7fc0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#31a6c8",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 200
  },
  "hsl": {
    "h": 193.51,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.67622,
    "c": 0.11133,
    "h": 221.9
  },
  "luminance": 0.32096
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31A6C8

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

Preview Lab → · Contrast checker → · Palette generator →

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