#5197DE#5197DE

#5197DE is a light, vivid cyan. Relative luminance 0.292; OKLCH L 66.2% C 0.128 H 250.6°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5197DE
RGBrgb(81, 151, 222)
HSLhsl(210, 68%, 59%)
HSVhsv(210, 64%, 87%)
CMYKcmyk(63.5%, 32%, 0%, 12.9%)
CIE-LABlab(60.92, -0.28, -42.64)
CIE-LCHlch(60.92, 42.64, 269.63°)
OKLaboklab(66.21% -0.0424 -0.1206)
OKLCHoklch(66.21% 0.128 250.6)
XYZxyz(27.6399, 29.1538, 73.2637)
Luminance0.2916 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5197DE #DE9851
analogous
#51DDDE #5197DE #5251DE
triadic
#5197DE #DE5197 #97DE51
tetradic
#5197DE #DE51DD #DE9851 #51DE52
square
#5197DE #DE51DD #DE9851 #51DE52
split-complementary
#5197DE #DE5251 #DDDE51
monochromatic
#1D5A98 #2778CB #5197DE #84B6E8 #B8D4F2

Accessibility & contrast

On white

3.07
#5197DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#5197DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5197DE
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5197DE#FFFFFF#000000##000000
##5197DE1.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)
#789AE1
Deuteranopia (green-blind)
#658DDD
Tritanopia (blue-blind)
#00A8B0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5197de;
/* rgb */ color: rgb(81, 151, 222);
/* oklch */ color: oklch(66.2% 0.128 250.6);
Tailwind
colors: {
  custom: {
    50: '#8fb5e8',
    500: '#5197de',
    950: '#000000',
  },
}
SCSS
$custom: #5197de;
$custom-light: #8fb5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5197de",
  "rgb": {
    "r": 81,
    "g": 151,
    "b": 222
  },
  "hsl": {
    "h": 210.213,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.66209,
    "c": 0.12782,
    "h": 250.6
  },
  "luminance": 0.29156
}

Semantic roles & 50–950 ramp

primary
#5197DE
secondary
#E1C6AA
accent
#953DEB
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0D1116
muted
#7E8084

Preview Lab

Preview with #5197DE

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

Preview Lab → · Contrast checker → · Palette generator →

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