#5197E3#5197E3

#5197E3 is a light, vivid cyan. Relative luminance 0.294; OKLCH L 66.5% C 0.134 H 252.2°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5197E3
RGBrgb(81, 151, 227)
HSLhsl(211, 72%, 60%)
HSVhsv(211, 64%, 89%)
CMYKcmyk(64.3%, 33.5%, 0%, 11%)
CIE-LABlab(61.16, 1.39, -45.04)
CIE-LCHlch(61.16, 45.06, 271.77°)
OKLaboklab(66.47% -0.041 -0.1276)
OKLCHoklch(66.47% 0.134 252.2)
XYZxyz(28.3200, 29.4258, 76.8454)
Luminance0.2943 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5197E3 #E39D51
analogous
#51E0E3 #5197E3 #5451E3
triadic
#5197E3 #E35197 #97E351
tetradic
#5197E3 #E351E0 #E39D51 #51E354
square
#5197E3 #E351E0 #E39D51 #51E354
split-complementary
#5197E3 #E35451 #E0E351
monochromatic
#1A5AA0 #2278D5 #5197E3 #86B7EB #BAD6F4

Accessibility & contrast

On white

3.05
#5197E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#5197E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5197E3
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5197E3#FFFFFF#000000##000000
##5197E31.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#769BE6
Deuteranopia (green-blind)
#628DE1
Tritanopia (blue-blind)
#00A9B2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5197e3;
/* rgb */ color: rgb(81, 151, 227);
/* oklch */ color: oklch(66.5% 0.134 252.2);
Tailwind
colors: {
  custom: {
    50: '#8fb5ec',
    500: '#5197e3',
    950: '#000000',
  },
}
SCSS
$custom: #5197e3;
$custom-light: #8fb5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5197e3",
  "rgb": {
    "r": 81,
    "g": 151,
    "b": 227
  },
  "hsl": {
    "h": 211.233,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66474,
    "c": 0.13401,
    "h": 252.2
  },
  "luminance": 0.29429
}

Semantic roles & 50–950 ramp

primary
#5197E3
secondary
#E4C9AC
accent
#7711D4
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5197E3

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

Preview Lab → · Contrast checker → · Palette generator →

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