#31A4E2#31A4E2

#31A4E2 is a light, vivid cyan. Relative luminance 0.327; OKLCH L 68.4% C 0.135 H 237.7°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#31A4E2
RGBrgb(49, 164, 226)
HSLhsl(201, 75%, 54%)
HSVhsv(201, 78%, 89%)
CMYKcmyk(78.3%, 27.4%, 0%, 11.4%)
CIE-LABlab(63.91, -10.71, -40.22)
CIE-LCHlch(63.91, 41.62, 255.10°)
OKLaboklab(68.37% -0.0718 -0.1137)
OKLCHoklch(68.37% 0.135 237.7)
XYZxyz(28.2641, 32.6914, 76.7572)
Luminance0.3270 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A4E2 #E26F31
analogous
#31E2C8 #31A4E2 #314CE2
triadic
#31A4E2 #E231A4 #A4E231
tetradic
#31A4E2 #C831E2 #E26F31 #4CE231
square
#31A4E2 #C831E2 #E26F31 #4CE231
split-complementary
#31A4E2 #E2314C #E2C831
monochromatic
#135E86 #1A83BB #31A4E2 #67BCEA #9CD3F1

Accessibility & contrast

On white

2.79
#31A4E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#31A4E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A4E2
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A4E2#FFFFFF#000000##000000
##31A4E21.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A4E5
Deuteranopia (green-blind)
#6E94E1
Tritanopia (blue-blind)
#00B4B9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31a4e2;
/* rgb */ color: rgb(49, 164, 226);
/* oklch */ color: oklch(68.4% 0.135 237.7);
Tailwind
colors: {
  custom: {
    50: '#83beeb',
    500: '#31a4e2',
    950: '#000000',
  },
}
SCSS
$custom: #31a4e2;
$custom-light: #83beeb;
$custom-dark: #000000;
JSON
{
  "hex": "#31a4e2",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 226
  },
  "hsl": {
    "h": 201.017,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.68372,
    "c": 0.1345,
    "h": 237.7
  },
  "luminance": 0.32695
}

Semantic roles & 50–950 ramp

primary
#31A4E2
secondary
#DDAC92
accent
#7836F2
background
#F8FBFE
surface
#F0F6FD
border
#CBD0D5
text
#0D1216
muted
#7D8184

Preview Lab

Preview with #31A4E2

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

Preview Lab → · Contrast checker → · Palette generator →

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