#5197E5#5197E5

#5197E5 is a light, vivid cyan. Relative luminance 0.295; OKLCH L 66.6% C 0.137 H 252.7°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#5197E5
RGBrgb(81, 151, 229)
HSLhsl(212, 74%, 61%)
HSVhsv(212, 65%, 90%)
CMYKcmyk(64.6%, 34.1%, 0%, 10.2%)
CIE-LABlab(61.25, 2.06, -45.99)
CIE-LCHlch(61.25, 46.04, 272.56°)
OKLaboklab(66.58% -0.0405 -0.1304)
OKLCHoklch(66.58% 0.137 252.7)
XYZxyz(28.5976, 29.5369, 78.3076)
Luminance0.2954 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5197E5 #E59F51
analogous
#51E1E5 #5197E5 #5551E5
triadic
#5197E5 #E55197 #97E551
tetradic
#5197E5 #E551E1 #E59F51 #51E555
square
#5197E5 #E551E1 #E59F51 #51E555
split-complementary
#5197E5 #E55551 #E1E551
monochromatic
#185AA3 #2077D8 #5197E5 #86B7ED #BBD7F5

Accessibility & contrast

On white

3.04
#5197E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#5197E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5197E5
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5197E5#FFFFFF#000000##000000
##5197E51.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#759CE8
Deuteranopia (green-blind)
#608DE3
Tritanopia (blue-blind)
#00A9B3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5197e5;
/* rgb */ color: rgb(81, 151, 229);
/* oklch */ color: oklch(66.6% 0.137 252.7);
Tailwind
colors: {
  custom: {
    50: '#90b5ed',
    500: '#5197e5',
    950: '#000000',
  },
}
SCSS
$custom: #5197e5;
$custom-light: #90b5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5197e5",
  "rgb": {
    "r": 81,
    "g": 151,
    "b": 229
  },
  "hsl": {
    "h": 211.622,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66582,
    "c": 0.13651,
    "h": 252.7
  },
  "luminance": 0.2954
}

Semantic roles & 50–950 ramp

primary
#5197E5
secondary
#E5CAAD
accent
#780FD6
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5197E5

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

Preview Lab → · Contrast checker → · Palette generator →

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