#5186F4#5186F4

#5186F4 is a light, vivid blue. Relative luminance 0.253; OKLCH L 63.8% C 0.174 H 263.0°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5186F4
RGBrgb(81, 134, 244)
HSLhsl(220, 88%, 64%)
HSVhsv(220, 67%, 96%)
CMYKcmyk(66.8%, 45.1%, 0%, 4.3%)
CIE-LABlab(57.39, 17.29, -60.44)
CIE-LCHlch(57.39, 62.86, 285.97°)
OKLaboklab(63.85% -0.0211 -0.1729)
OKLCHoklch(63.85% 0.174 263)
XYZxyz(28.2418, 25.3284, 88.9709)
Luminance0.2533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5186F4 #F4BF51
analogous
#51D7F4 #5186F4 #6D51F4
triadic
#5186F4 #F45186 #86F451
tetradic
#5186F4 #F451D7 #F4BF51 #51F46D
square
#5186F4 #F451D7 #F4BF51 #51F46D
split-complementary
#5186F4 #F46D51 #D7F451
monochromatic
#0C46BF #175EF0 #5186F4 #8BAEF8 #C4D6FB

Accessibility & contrast

On white

3.46
#5186F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#5186F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5186F4
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5186F4#FFFFFF#000000##000000
##5186F41.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F92F8
Deuteranopia (green-blind)
#3083F2
Tritanopia (blue-blind)
#009FB1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5186f4;
/* rgb */ color: rgb(81, 134, 244);
/* oklch */ color: oklch(63.8% 0.174 263.0);
Tailwind
colors: {
  custom: {
    50: '#92a8f8',
    500: '#5186f4',
    950: '#000000',
  },
}
SCSS
$custom: #5186f4;
$custom-light: #92a8f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5186f4",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 244
  },
  "hsl": {
    "h": 220.491,
    "s": 88.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63849,
    "c": 0.17422,
    "h": 263
  },
  "luminance": 0.25331
}

Semantic roles & 50–950 ramp

primary
#5186F4
secondary
#EDDAB4
accent
#9B01E5
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5186F4

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

Preview Lab → · Contrast checker → · Palette generator →

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