#31A6CF#31A6CF

#31A6CF is a light, moderate cyan. Relative luminance 0.324; OKLCH L 67.9% C 0.116 H 226.4°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#31A6CF
RGBrgb(49, 166, 207)
HSLhsl(196, 62%, 50%)
HSVhsv(196, 76%, 81%)
CMYKcmyk(76.3%, 19.8%, 0%, 18.8%)
CIE-LABlab(63.69, -18.27, -30.04)
CIE-LCHlch(63.69, 35.16, 238.70°)
OKLaboklab(67.93% -0.0802 -0.0843)
OKLCHoklch(67.93% 0.116 226.4)
XYZxyz(26.1607, 32.4272, 63.8997)
Luminance0.3243 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A6CF #CF5A31
analogous
#31CFA9 #31A6CF #3157CF
triadic
#31A6CF #CF31A6 #A6CF31
tetradic
#31A6CF #A931CF #CF5A31 #57CF31
square
#31A6CF #A931CF #CF5A31 #57CF31
split-complementary
#31A6CF #CF3157 #CFA931
monochromatic
#19576C #257F9E #31A6CF #63BBDB #94D1E6

Accessibility & contrast

On white

2.81
#31A6CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#31A6CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A6CF
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A6CF#FFFFFF#000000##000000
##31A6CF1.002.817.497.49
#FFFFFF2.811.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A3D1
Deuteranopia (green-blind)
#7B94CE
Tritanopia (blue-blind)
#00B2B3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31a6cf;
/* rgb */ color: rgb(49, 166, 207);
/* oklch */ color: oklch(67.9% 0.116 226.4);
Tailwind
colors: {
  custom: {
    50: '#80c0dd',
    500: '#31a6cf',
    950: '#000000',
  },
}
SCSS
$custom: #31a6cf;
$custom-light: #80c0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#31a6cf",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 207
  },
  "hsl": {
    "h": 195.57,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.67934,
    "c": 0.11637,
    "h": 226.4
  },
  "luminance": 0.3243
}

Semantic roles & 50–950 ramp

primary
#31A6CF
secondary
#D19D8B
accent
#6D43E5
background
#F8FBFD
surface
#F0F7FB
border
#CBD0D4
text
#0C1215
muted
#7D8183

Preview Lab

Preview with #31A6CF

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

Preview Lab → · Contrast checker → · Palette generator →

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