#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 |
|---|---|
| RGB | rgb(81, 134, 244) |
| HSL | hsl(220, 88%, 64%) |
| HSV | hsv(220, 67%, 96%) |
| CMYK | cmyk(66.8%, 45.1%, 0%, 4.3%) |
| CIE-LAB | lab(57.39, 17.29, -60.44) |
| CIE-LCH | lch(57.39, 62.86, 285.97°) |
| OKLab | oklab(63.85% -0.0211 -0.1729) |
| OKLCH | oklch(63.85% 0.174 263) |
| XYZ | xyz(28.2418, 25.3284, 88.9709) |
| Luminance | 0.2533 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 1.82
Soft Blue
#6488EA
ΔE00 2.54
Lightish Blue
#3D7AFD
ΔE00 3.91
Azure
#007FFF
ΔE00 4.25
Clear Blue
#247AFD
ΔE00 4.38
Cornflowerblue
#6495ED
ΔE00 4.63
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 |
|---|---|---|---|---|
| ##5186F4 | 1.00 | 3.46 | 6.07 | 6.07 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.07 | 21.00 | 1.00 | 1.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