#5197DC#5197DC

#5197DC is a light, vivid cyan. Relative luminance 0.290; OKLCH L 66.1% C 0.125 H 250.0°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5197DC
RGBrgb(81, 151, 220)
HSLhsl(210, 67%, 59%)
HSVhsv(210, 63%, 86%)
CMYKcmyk(63.2%, 31.4%, 0%, 13.7%)
CIE-LABlab(60.82, -0.94, -41.68)
CIE-LCHlch(60.82, 41.69, 268.70°)
OKLaboklab(66.1% -0.043 -0.1178)
OKLCHoklch(66.1% 0.125 250)
XYZxyz(27.3735, 29.0472, 71.8604)
Luminance0.2905 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5197DC #DC9651
analogous
#51DCDB #5197DC #5152DC
triadic
#5197DC #DC5197 #97DC51
tetradic
#5197DC #DB51DC #DC9651 #52DC51
square
#5197DC #DB51DC #DC9651 #52DC51
split-complementary
#5197DC #DC5152 #DCDB51
monochromatic
#1E5A95 #2878C8 #5197DC #84B5E6 #B7D4F0

Accessibility & contrast

On white

3.08
#5197DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#5197DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5197DC
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5197DC#FFFFFF#000000##000000
##5197DC1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#799ADF
Deuteranopia (green-blind)
#668DDB
Tritanopia (blue-blind)
#00A7B0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5197dc;
/* rgb */ color: rgb(81, 151, 220);
/* oklch */ color: oklch(66.1% 0.125 250.0);
Tailwind
colors: {
  custom: {
    50: '#8eb5e7',
    500: '#5197dc',
    950: '#000000',
  },
}
SCSS
$custom: #5197dc;
$custom-light: #8eb5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5197dc",
  "rgb": {
    "r": 81,
    "g": 151,
    "b": 220
  },
  "hsl": {
    "h": 209.784,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.66104,
    "c": 0.12536,
    "h": 250
  },
  "luminance": 0.2905
}

Semantic roles & 50–950 ramp

primary
#5197DC
secondary
#E0C4A9
accent
#933EE9
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0D1116
muted
#7E8084

Preview Lab

Preview with #5197DC

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

Preview Lab → · Contrast checker → · Palette generator →

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