#5196D9#5196D9

#5196D9 is a light, vivid cyan. Relative luminance 0.286; OKLCH L 65.7% C 0.123 H 249.6°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5196D9
RGBrgb(81, 150, 217)
HSLhsl(210, 64%, 58%)
HSVhsv(210, 63%, 85%)
CMYKcmyk(62.7%, 30.9%, 0%, 14.9%)
CIE-LABlab(60.40, -1.36, -40.67)
CIE-LCHlch(60.40, 40.69, 268.09°)
OKLaboklab(65.73% -0.0428 -0.1149)
OKLCHoklch(65.73% 0.123 249.6)
XYZxyz(26.8195, 28.5692, 69.7332)
Luminance0.2857 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5196D9 #D99451
analogous
#51D9D8 #5196D9 #5152D9
triadic
#5196D9 #D95196 #96D951
tetradic
#5196D9 #D851D9 #D99451 #52D951
square
#5196D9 #D851D9 #D99451 #52D951
split-complementary
#5196D9 #D95152 #D9D851
monochromatic
#1F5990 #2A78C2 #5196D9 #83B4E4 #B5D3EF

Accessibility & contrast

On white

3.13
#5196D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#5196D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5196D9
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5196D9#FFFFFF#000000##000000
##5196D91.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7999DC
Deuteranopia (green-blind)
#678CD8
Tritanopia (blue-blind)
#00A6AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5196d9;
/* rgb */ color: rgb(81, 150, 217);
/* oklch */ color: oklch(65.7% 0.123 249.6);
Tailwind
colors: {
  custom: {
    50: '#8eb4e5',
    500: '#5196d9',
    950: '#000000',
  },
}
SCSS
$custom: #5196d9;
$custom-light: #8eb4e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5196d9",
  "rgb": {
    "r": 81,
    "g": 150,
    "b": 217
  },
  "hsl": {
    "h": 209.559,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65726,
    "c": 0.12257,
    "h": 249.6
  },
  "luminance": 0.28572
}

Semantic roles & 50–950 ramp

primary
#5196D9
secondary
#DEC3A8
accent
#9341E7
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0D1115
muted
#7E8084

Preview Lab

Preview with #5196D9

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

Preview Lab → · Contrast checker → · Palette generator →

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