#5186E8#5186E8

#5186E8 is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.1% C 0.158 H 261.6°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5186E8
RGBrgb(81, 134, 232)
HSLhsl(219, 77%, 61%)
HSVhsv(219, 65%, 91%)
CMYKcmyk(65.1%, 42.2%, 0%, 9%)
CIE-LABlab(56.71, 13.17, -54.88)
CIE-LCHlch(56.71, 56.44, 283.49°)
OKLaboklab(63.1% -0.0232 -0.1566)
OKLCHoklch(63.1% 0.158 261.6)
XYZxyz(26.4788, 24.6232, 79.6856)
Luminance0.2463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5186E8 #E8B351
analogous
#51D2E8 #5186E8 #6851E8
triadic
#5186E8 #E85186 #86E851
tetradic
#5186E8 #E851D2 #E8B351 #51E868
square
#5186E8 #E851D2 #E8B351 #51E868
split-complementary
#5186E8 #E86851 #D2E851
monochromatic
#164AA8 #1D61DE #5186E8 #87ACEF #BDD1F6

Accessibility & contrast

On white

3.54
#5186E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#5186E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5186E8
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5186E8#FFFFFF#000000##000000
##5186E81.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5890EC
Deuteranopia (green-blind)
#4082E6
Tritanopia (blue-blind)
#009CAC
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5186e8;
/* rgb */ color: rgb(81, 134, 232);
/* oklch */ color: oklch(63.1% 0.158 261.6);
Tailwind
colors: {
  custom: {
    50: '#90a8f0',
    500: '#5186e8',
    950: '#000000',
  },
}
SCSS
$custom: #5186e8;
$custom-light: #90a8f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5186e8",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 232
  },
  "hsl": {
    "h": 218.94,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.63098,
    "c": 0.1583,
    "h": 261.6
  },
  "luminance": 0.24626
}

Semantic roles & 50–950 ramp

primary
#5186E8
secondary
#E7D3AE
accent
#910DD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5186E8

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

Preview Lab → · Contrast checker → · Palette generator →

#5186E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva