#5197D9#5197D9

#5197D9 is a light, vivid cyan. Relative luminance 0.289; OKLCH L 65.9% C 0.122 H 248.9°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5197D9
RGBrgb(81, 151, 217)
HSLhsl(209, 64%, 58%)
HSVhsv(209, 63%, 85%)
CMYKcmyk(62.7%, 30.4%, 0%, 14.9%)
CIE-LABlab(60.68, -1.93, -40.22)
CIE-LCHlch(60.68, 40.27, 267.25°)
OKLaboklab(65.95% -0.0438 -0.1135)
OKLCHoklch(65.95% 0.122 248.9)
XYZxyz(26.9797, 28.8897, 69.7866)
Luminance0.2889 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5197D9 #D99351
analogous
#51D9D7 #5197D9 #5153D9
triadic
#5197D9 #D95197 #97D951
tetradic
#5197D9 #D751D9 #D99351 #53D951
square
#5197D9 #D751D9 #D99351 #53D951
split-complementary
#5197D9 #D95153 #D9D751
monochromatic
#1F5990 #2A79C2 #5197D9 #83B5E4 #B5D3EF

Accessibility & contrast

On white

3.10
#5197D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#5197D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5197D9
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5197D9#FFFFFF#000000##000000
##5197D91.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9ADC
Deuteranopia (green-blind)
#688CD8
Tritanopia (blue-blind)
#00A7AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5197d9;
/* rgb */ color: rgb(81, 151, 217);
/* oklch */ color: oklch(65.9% 0.122 248.9);
Tailwind
colors: {
  custom: {
    50: '#8eb5e5',
    500: '#5197d9',
    950: '#000000',
  },
}
SCSS
$custom: #5197d9;
$custom-light: #8eb5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5197d9",
  "rgb": {
    "r": 81,
    "g": 151,
    "b": 217
  },
  "hsl": {
    "h": 209.118,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65949,
    "c": 0.12171,
    "h": 248.9
  },
  "luminance": 0.28892
}

Semantic roles & 50–950 ramp

primary
#5197D9
secondary
#DEC2A8
accent
#9141E7
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0D1115
muted
#7E8084

Preview Lab

Preview with #5197D9

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

Preview Lab → · Contrast checker → · Palette generator →

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