#5196DC#5196DC

#5196DC is a light, vivid cyan. Relative luminance 0.287; OKLCH L 65.9% C 0.126 H 250.6°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#5196DC
RGBrgb(81, 150, 220)
HSLhsl(210, 67%, 59%)
HSVhsv(210, 63%, 86%)
CMYKcmyk(63.2%, 31.8%, 0%, 13.7%)
CIE-LABlab(60.54, -0.37, -42.12)
CIE-LCHlch(60.54, 42.12, 269.50°)
OKLaboklab(65.88% -0.0419 -0.1191)
OKLCHoklch(65.88% 0.126 250.6)
XYZxyz(27.2132, 28.7267, 71.8069)
Luminance0.2873 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5196DC #DC9751
analogous
#51DBDC #5196DC #5251DC
triadic
#5196DC #DC5196 #96DC51
tetradic
#5196DC #DC51DB #DC9751 #51DC52
square
#5196DC #DC51DB #DC9751 #51DC52
split-complementary
#5196DC #DC5251 #DBDC51
monochromatic
#1E5995 #2877C8 #5196DC #84B5E6 #B7D3F0

Accessibility & contrast

On white

3.11
#5196DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#5196DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5196DC
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5196DC#FFFFFF#000000##000000
##5196DC1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7899DF
Deuteranopia (green-blind)
#658CDB
Tritanopia (blue-blind)
#00A6AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5196dc;
/* rgb */ color: rgb(81, 150, 220);
/* oklch */ color: oklch(65.9% 0.126 250.6);
Tailwind
colors: {
  custom: {
    50: '#8eb4e7',
    500: '#5196dc',
    950: '#000000',
  },
}
SCSS
$custom: #5196dc;
$custom-light: #8eb4e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5196dc",
  "rgb": {
    "r": 81,
    "g": 150,
    "b": 220
  },
  "hsl": {
    "h": 210.216,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65882,
    "c": 0.12625,
    "h": 250.6
  },
  "luminance": 0.28729
}

Semantic roles & 50–950 ramp

primary
#5196DC
secondary
#E0C5A9
accent
#953EE9
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0D1116
muted
#7E8084

Preview Lab

Preview with #5196DC

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

Preview Lab → · Contrast checker → · Palette generator →

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