#31A3E2#31A3E2

#31A3E2 is a light, vivid cyan. Relative luminance 0.323; OKLCH L 68.1% C 0.135 H 238.4°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#31A3E2
RGBrgb(49, 163, 226)
HSLhsl(201, 75%, 54%)
HSVhsv(201, 78%, 89%)
CMYKcmyk(78.3%, 27.9%, 0%, 11.4%)
CIE-LABlab(63.62, -10.15, -40.68)
CIE-LCHlch(63.62, 41.93, 255.99°)
OKLaboklab(68.14% -0.0709 -0.1151)
OKLCHoklch(68.14% 0.135 238.4)
XYZxyz(28.0858, 32.3349, 76.6978)
Luminance0.3234 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A3E2 #E27031
analogous
#31E2C9 #31A3E2 #314BE2
triadic
#31A3E2 #E231A3 #A3E231
tetradic
#31A3E2 #C931E2 #E27031 #4BE231
square
#31A3E2 #C931E2 #E27031 #4BE231
split-complementary
#31A3E2 #E2314B #E2C931
monochromatic
#135D86 #1A82BB #31A3E2 #67BBEA #9CD3F1

Accessibility & contrast

On white

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

On black

7.47
#31A3E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A3E2
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A3E2#FFFFFF#000000##000000
##31A3E21.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A3E5
Deuteranopia (green-blind)
#6D93E1
Tritanopia (blue-blind)
#00B3B9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31a3e2;
/* rgb */ color: rgb(49, 163, 226);
/* oklch */ color: oklch(68.1% 0.135 238.4);
Tailwind
colors: {
  custom: {
    50: '#83beeb',
    500: '#31a3e2',
    950: '#000000',
  },
}
SCSS
$custom: #31a3e2;
$custom-light: #83beeb;
$custom-dark: #000000;
JSON
{
  "hex": "#31a3e2",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 226
  },
  "hsl": {
    "h": 201.356,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.6814,
    "c": 0.13516,
    "h": 238.4
  },
  "luminance": 0.32338
}

Semantic roles & 50–950 ramp

primary
#31A3E2
secondary
#DDAD92
accent
#7936F2
background
#F8FBFE
surface
#F0F6FD
border
#CBD0D5
text
#0D1216
muted
#7D8184

Preview Lab

Preview with #31A3E2

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

Preview Lab → · Contrast checker → · Palette generator →

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