#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 |
|---|---|
| RGB | rgb(81, 134, 232) |
| HSL | hsl(219, 77%, 61%) |
| HSV | hsv(219, 65%, 91%) |
| CMYK | cmyk(65.1%, 42.2%, 0%, 9%) |
| CIE-LAB | lab(56.71, 13.17, -54.88) |
| CIE-LCH | lch(56.71, 56.44, 283.49°) |
| OKLab | oklab(63.1% -0.0232 -0.1566) |
| OKLCH | oklch(63.1% 0.158 261.6) |
| XYZ | xyz(26.4788, 24.6232, 79.6856) |
| Luminance | 0.2463 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.29
Soft Blue
#6488EA
ΔE00 2.93
Azure
#007FFF
ΔE00 4.06
Dark Sky Blue
#448EE4
ΔE00 4.19
Lightish Blue
#3D7AFD
ΔE00 4.31
Clear Blue
#247AFD
ΔE00 4.43
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 |
|---|---|---|---|---|
| ##5186E8 | 1.00 | 3.54 | 5.93 | 5.93 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.93 | 21.00 | 1.00 | 1.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