#31A6E2#31A6E2

#31A6E2 is a light, vivid cyan. Relative luminance 0.334; OKLCH L 68.8% C 0.133 H 236.5°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#31A6E2
RGBrgb(49, 166, 226)
HSLhsl(200, 75%, 54%)
HSVhsv(200, 78%, 89%)
CMYKcmyk(78.3%, 26.5%, 0%, 11.4%)
CIE-LABlab(64.49, -11.81, -39.31)
CIE-LCHlch(64.49, 41.04, 253.28°)
OKLaboklab(68.84% -0.0736 -0.111)
OKLCHoklch(68.84% 0.133 236.5)
XYZxyz(28.6248, 33.4129, 76.8774)
Luminance0.3342 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A6E2 #E26D31
analogous
#31E2C6 #31A6E2 #314EE2
triadic
#31A6E2 #E231A6 #A6E231
tetradic
#31A6E2 #C631E2 #E26D31 #4EE231
square
#31A6E2 #C631E2 #E26D31 #4EE231
split-complementary
#31A6E2 #E2314E #E2C631
monochromatic
#135F86 #1A85BB #31A6E2 #67BDEA #9CD4F1

Accessibility & contrast

On white

2.73
#31A6E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#31A6E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A6E2
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A6E2#FFFFFF#000000##000000
##31A6E21.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A6E5
Deuteranopia (green-blind)
#7195E1
Tritanopia (blue-blind)
#00B5BB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31a6e2;
/* rgb */ color: rgb(49, 166, 226);
/* oklch */ color: oklch(68.8% 0.133 236.5);
Tailwind
colors: {
  custom: {
    50: '#83c0eb',
    500: '#31a6e2',
    950: '#000000',
  },
}
SCSS
$custom: #31a6e2;
$custom-light: #83c0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#31a6e2",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 226
  },
  "hsl": {
    "h": 200.339,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.68836,
    "c": 0.13324,
    "h": 236.5
  },
  "luminance": 0.33416
}

Semantic roles & 50–950 ramp

primary
#31A6E2
secondary
#DDAB92
accent
#7636F2
background
#F8FBFE
surface
#F0F7FD
border
#CBD0D5
text
#0D1216
muted
#7D8184

Preview Lab

Preview with #31A6E2

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

Preview Lab → · Contrast checker → · Palette generator →

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