#5186EB#5186EB
#5186EB is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.3% C 0.162 H 262.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #5186EB |
|---|---|
| RGB | rgb(81, 134, 235) |
| HSL | hsl(219, 79%, 62%) |
| HSV | hsv(219, 66%, 92%) |
| CMYK | cmyk(65.5%, 43%, 0%, 7.8%) |
| CIE-LAB | lab(56.88, 14.19, -56.28) |
| CIE-LCH | lch(56.88, 58.04, 284.16°) |
| OKLab | oklab(63.28% -0.0226 -0.1607) |
| OKLCH | oklch(63.28% 0.162 262) |
| XYZ | xyz(26.9085, 24.7951, 81.9490) |
| Luminance | 0.2480 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.10
Soft Blue
#6488EA
ΔE00 2.77
Azure
#007FFF
ΔE00 4.07
Lightish Blue
#3D7AFD
ΔE00 4.18
Dark Sky Blue
#448EE4
ΔE00 4.35
Clear Blue
#247AFD
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5186EB #EBB651
analogous
#51D3EB #5186EB #6951EB
triadic
#5186EB #EB5186 #86EB51
tetradic
#5186EB #EB51D3 #EBB651 #51EB69
square
#5186EB #EB51D3 #EBB651 #51EB69
split-complementary
#5186EB #EB6951 #D3EB51
monochromatic
#1449AE #1A60E5 #5186EB #88ACF1 #BFD2F8
Accessibility & contrast
On white
3.52
#5186EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.96
#5186EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5186EB
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5186EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5186EB | 1.00 | 3.52 | 5.96 | 5.96 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5690EF
Deuteranopia (green-blind)
#3D82E9
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #5186eb; /* rgb */ color: rgb(81, 134, 235); /* oklch */ color: oklch(63.3% 0.162 262.0);
Tailwind
colors: {
custom: {
50: '#91a8f2',
500: '#5186eb',
950: '#000000',
},
}SCSS
$custom: #5186eb; $custom-light: #91a8f2; $custom-dark: #000000;
JSON
{
"hex": "#5186eb",
"rgb": {
"r": 81,
"g": 134,
"b": 235
},
"hsl": {
"h": 219.351,
"s": 79.381,
"l": 61.961
},
"oklch": {
"l": 0.63283,
"c": 0.16229,
"h": 262
},
"luminance": 0.24798
}Semantic roles & 50–950 ramp
primary
#5186EB
secondary
#E8D5B0
accent
#930ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85