#5196E4#5196E4

#5196E4 is a light, vivid cyan. Relative luminance 0.292; OKLCH L 66.3% C 0.136 H 253.0°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5196E4
RGBrgb(81, 150, 228)
HSLhsl(212, 73%, 61%)
HSVhsv(212, 64%, 89%)
CMYKcmyk(64.5%, 34.2%, 0%, 10.6%)
CIE-LABlab(60.92, 2.30, -45.96)
CIE-LCHlch(60.92, 46.02, 272.87°)
OKLaboklab(66.31% -0.0398 -0.1303)
OKLCHoklch(66.31% 0.136 253)
XYZxyz(28.2982, 29.1607, 77.5210)
Luminance0.2916 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5196E4 #E49F51
analogous
#51DFE4 #5196E4 #5551E4
triadic
#5196E4 #E45196 #96E451
tetradic
#5196E4 #E451DF #E49F51 #51E455
square
#5196E4 #E451DF #E49F51 #51E455
split-complementary
#5196E4 #E45551 #DFE451
monochromatic
#1959A2 #2176D7 #5196E4 #86B6EC #BBD6F4

Accessibility & contrast

On white

3.07
#5196E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#5196E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5196E4
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5196E4#FFFFFF#000000##000000
##5196E41.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#749BE7
Deuteranopia (green-blind)
#608DE2
Tritanopia (blue-blind)
#00A8B2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5196e4;
/* rgb */ color: rgb(81, 150, 228);
/* oklch */ color: oklch(66.3% 0.136 253.0);
Tailwind
colors: {
  custom: {
    50: '#8fb4ed',
    500: '#5196e4',
    950: '#000000',
  },
}
SCSS
$custom: #5196e4;
$custom-light: #8fb4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5196e4",
  "rgb": {
    "r": 81,
    "g": 150,
    "b": 228
  },
  "hsl": {
    "h": 211.837,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66308,
    "c": 0.13621,
    "h": 253
  },
  "luminance": 0.29163
}

Semantic roles & 50–950 ramp

primary
#5196E4
secondary
#E4CAAC
accent
#7910D5
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5196E4

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

Preview Lab → · Contrast checker → · Palette generator →

#5196E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva