#31A2E2#31A2E2

#31A2E2 is a light, vivid cyan. Relative luminance 0.320; OKLCH L 67.9% C 0.136 H 239.0°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#31A2E2
RGBrgb(49, 162, 226)
HSLhsl(202, 75%, 54%)
HSVhsv(202, 78%, 89%)
CMYKcmyk(78.3%, 28.3%, 0%, 11.4%)
CIE-LABlab(63.33, -9.60, -41.14)
CIE-LCHlch(63.33, 42.24, 256.87°)
OKLaboklab(67.91% -0.07 -0.1164)
OKLCHoklch(67.91% 0.136 239)
XYZxyz(27.9090, 31.9812, 76.6388)
Luminance0.3199 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A2E2 #E27131
analogous
#31E2CA #31A2E2 #314AE2
triadic
#31A2E2 #E231A2 #A2E231
tetradic
#31A2E2 #CA31E2 #E27131 #4AE231
square
#31A2E2 #CA31E2 #E27131 #4AE231
split-complementary
#31A2E2 #E2314A #E2CA31
monochromatic
#135C86 #1A81BB #31A2E2 #67BAEA #9CD2F1

Accessibility & contrast

On white

2.84
#31A2E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#31A2E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A2E2
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A2E2#FFFFFF#000000##000000
##31A2E21.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A2E5
Deuteranopia (green-blind)
#6C92E1
Tritanopia (blue-blind)
#00B2B8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31a2e2;
/* rgb */ color: rgb(49, 162, 226);
/* oklch */ color: oklch(67.9% 0.136 239.0);
Tailwind
colors: {
  custom: {
    50: '#83bdeb',
    500: '#31a2e2',
    950: '#000000',
  },
}
SCSS
$custom: #31a2e2;
$custom-light: #83bdeb;
$custom-dark: #000000;
JSON
{
  "hex": "#31a2e2",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 226
  },
  "hsl": {
    "h": 201.695,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.67909,
    "c": 0.13584,
    "h": 239
  },
  "luminance": 0.31985
}

Semantic roles & 50–950 ramp

primary
#31A2E2
secondary
#DDAD92
accent
#7A36F2
background
#F8FBFE
surface
#F0F6FD
border
#CBD0D5
text
#0D1216
muted
#7D8184

Preview Lab

Preview with #31A2E2

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

Preview Lab → · Contrast checker → · Palette generator →

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