#5196FF#5196FF

#5196FF is a light, vivid blue. Relative luminance 0.308; OKLCH L 67.9% C 0.171 H 258.6°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#5196FF
RGBrgb(81, 150, 255)
HSLhsl(216, 100%, 66%)
HSVhsv(216, 68%, 100%)
CMYKcmyk(68.2%, 41.2%, 0%, 0%)
CIE-LABlab(62.32, 11.49, -58.61)
CIE-LCHlch(62.32, 59.72, 281.09°)
OKLaboklab(67.85% -0.0336 -0.1673)
OKLCHoklch(67.85% 0.171 258.6)
XYZxyz(32.3432, 30.7787, 98.8247)
Luminance0.3078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5196FF #FFBA51
analogous
#51EDFF #5196FF #6351FF
triadic
#5196FF #FF5196 #96FF51
tetradic
#5196FF #FF51ED #FFBA51 #51FF63
square
#5196FF #FF51ED #FFBA51 #51FF63
split-complementary
#5196FF #FF6351 #EDFF51
monochromatic
#0055D6 #1471FF #5196FF #8EBBFF #CBE0FF

Accessibility & contrast

On white

2.93
#5196FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#5196FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5196FF
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5196FF#FFFFFF#000000##000000
##5196FF1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#649FFF
Deuteranopia (green-blind)
#488FFD
Tritanopia (blue-blind)
#00AEBE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5196ff;
/* rgb */ color: rgb(81, 150, 255);
/* oklch */ color: oklch(67.9% 0.171 258.6);
Tailwind
colors: {
  custom: {
    50: '#94b4ff',
    500: '#5196ff',
    950: '#000000',
  },
}
SCSS
$custom: #5196ff;
$custom-light: #94b4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5196ff",
  "rgb": {
    "r": 81,
    "g": 150,
    "b": 255
  },
  "hsl": {
    "h": 216.207,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67851,
    "c": 0.17066,
    "h": 258.6
  },
  "luminance": 0.30782
}

Semantic roles & 50–950 ramp

primary
#5196FF
secondary
#F3DCB9
accent
#8A00E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1118
muted
#7E8086

Preview Lab

Preview with #5196FF

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

Preview Lab → · Contrast checker → · Palette generator →

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