#5186E6#5186E6
#5186E6 is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.0% C 0.156 H 261.3°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5186E6 |
|---|---|
| RGB | rgb(81, 134, 230) |
| HSL | hsl(219, 75%, 61%) |
| HSV | hsv(219, 65%, 90%) |
| CMYK | cmyk(64.8%, 41.7%, 0%, 9.8%) |
| CIE-LAB | lab(56.59, 12.48, -53.94) |
| CIE-LCH | lch(56.59, 55.37, 283.03°) |
| OKLab | oklab(62.98% -0.0236 -0.1538) |
| OKLCH | oklch(62.98% 0.156 261.3) |
| XYZ | xyz(26.1963, 24.5102, 78.1980) |
| Luminance | 0.2451 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.43
Soft Blue
#6488EA
ΔE00 3.05
Azure
#007FFF
ΔE00 4.06
Dark Sky Blue
#448EE4
ΔE00 4.10
Lightish Blue
#3D7AFD
ΔE00 4.41
Clear Blue
#247AFD
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5186E6 #E6B151
analogous
#51D0E6 #5186E6 #6651E6
triadic
#5186E6 #E65186 #86E651
tetradic
#5186E6 #E651D0 #E6B151 #51E666
square
#5186E6 #E651D0 #E6B151 #51E666
split-complementary
#5186E6 #E66651 #D0E651
monochromatic
#184AA5 #1F62DA #5186E6 #87ABEE #BCD0F5
Accessibility & contrast
On white
3.56
#5186E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.90
#5186E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5186E6
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5186E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5186E6 | 1.00 | 3.56 | 5.90 | 5.90 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A8FEA
Deuteranopia (green-blind)
#4281E4
Tritanopia (blue-blind)
#009CAB
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #5186e6; /* rgb */ color: rgb(81, 134, 230); /* oklch */ color: oklch(63.0% 0.156 261.3);
Tailwind
colors: {
custom: {
50: '#90a8ee',
500: '#5186e6',
950: '#000000',
},
}SCSS
$custom: #5186e6; $custom-light: #90a8ee; $custom-dark: #000000;
JSON
{
"hex": "#5186e6",
"rgb": {
"r": 81,
"g": 134,
"b": 230
},
"hsl": {
"h": 218.658,
"s": 74.874,
"l": 60.98
},
"oklch": {
"l": 0.62976,
"c": 0.15564,
"h": 261.3
},
"luminance": 0.24513
}Semantic roles & 50–950 ramp
primary
#5186E6
secondary
#E5D2AD
accent
#900ED7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84