#5197DF#5197DF

#5197DF is a light, vivid cyan. Relative luminance 0.292; OKLCH L 66.3% C 0.129 H 251.0°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#5197DF
RGBrgb(81, 151, 223)
HSLhsl(210, 69%, 60%)
HSVhsv(210, 64%, 87%)
CMYKcmyk(63.7%, 32.3%, 0%, 12.5%)
CIE-LABlab(60.96, 0.05, -43.12)
CIE-LCHlch(60.96, 43.12, 270.07°)
OKLaboklab(66.26% -0.0421 -0.122)
OKLCHoklch(66.26% 0.129 251)
XYZxyz(27.7743, 29.2075, 73.9716)
Luminance0.2921 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5197DF #DF9951
analogous
#51DEDF #5197DF #5251DF
triadic
#5197DF #DF5197 #97DF51
tetradic
#5197DF #DF51DE #DF9951 #51DF52
square
#5197DF #DF51DE #DF9951 #51DF52
split-complementary
#5197DF #DF5251 #DEDF51
monochromatic
#1C5A99 #2678CD #5197DF #85B6E9 #B8D5F2

Accessibility & contrast

On white

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

On black

6.84
#5197DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5197DF
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5197DF#FFFFFF#000000##000000
##5197DF1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#789BE2
Deuteranopia (green-blind)
#648DDE
Tritanopia (blue-blind)
#00A8B1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5197df;
/* rgb */ color: rgb(81, 151, 223);
/* oklch */ color: oklch(66.3% 0.129 251.0);
Tailwind
colors: {
  custom: {
    50: '#8fb5e9',
    500: '#5197df',
    950: '#000000',
  },
}
SCSS
$custom: #5197df;
$custom-light: #8fb5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5197df",
  "rgb": {
    "r": 81,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 210.423,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.66261,
    "c": 0.12905,
    "h": 251
  },
  "luminance": 0.2921
}

Semantic roles & 50–950 ramp

primary
#5197DF
secondary
#E1C6AA
accent
#953CEC
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0D1116
muted
#7E8084

Preview Lab

Preview with #5197DF

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

Preview Lab → · Contrast checker → · Palette generator →

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