#5197EA#5197EA

#5197EA is a light, vivid cyan. Relative luminance 0.298; OKLCH L 66.9% C 0.143 H 254.1°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#5197EA
RGBrgb(81, 151, 234)
HSLhsl(213, 78%, 62%)
HSVhsv(213, 65%, 92%)
CMYKcmyk(65.4%, 35.5%, 0%, 8.2%)
CIE-LABlab(61.50, 3.74, -48.37)
CIE-LCHlch(61.50, 48.52, 274.42°)
OKLaboklab(66.86% -0.0392 -0.1373)
OKLCHoklch(66.86% 0.143 254.1)
XYZxyz(29.3058, 29.8201, 82.0374)
Luminance0.2982 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5197EA #EAA451
analogous
#51E4EA #5197EA #5851EA
triadic
#5197EA #EA5197 #97EA51
tetradic
#5197EA #EA51E4 #EAA451 #51EA58
square
#5197EA #EA51E4 #EAA451 #51EA58
split-complementary
#5197EA #EA5851 #E4EA51
monochromatic
#155AAC #1B76E2 #5197EA #88B8F1 #BED8F7

Accessibility & contrast

On white

3.02
#5197EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#5197EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5197EA
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5197EA#FFFFFF#000000##000000
##5197EA1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#729CED
Deuteranopia (green-blind)
#5D8EE8
Tritanopia (blue-blind)
#00AAB5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5197ea;
/* rgb */ color: rgb(81, 151, 234);
/* oklch */ color: oklch(66.9% 0.143 254.1);
Tailwind
colors: {
  custom: {
    50: '#90b5f1',
    500: '#5197ea',
    950: '#000000',
  },
}
SCSS
$custom: #5197ea;
$custom-light: #90b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5197ea",
  "rgb": {
    "r": 81,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 212.549,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66855,
    "c": 0.1428,
    "h": 254.1
  },
  "luminance": 0.29823
}

Semantic roles & 50–950 ramp

primary
#5197EA
secondary
#E8CEAF
accent
#7C0BDB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5197EA

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

Preview Lab → · Contrast checker → · Palette generator →

#5197EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva