#5186F1#5186F1
#5186F1 is a light, vivid blue. Relative luminance 0.252; OKLCH L 63.7% C 0.170 H 262.7°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5186F1 |
|---|---|
| RGB | rgb(81, 134, 241) |
| HSL | hsl(220, 85%, 63%) |
| HSV | hsv(220, 66%, 95%) |
| CMYK | cmyk(66.4%, 44.4%, 0%, 5.5%) |
| CIE-LAB | lab(57.22, 16.26, -59.06) |
| CIE-LCH | lch(57.22, 61.25, 285.39°) |
| OKLab | oklab(63.66% -0.0216 -0.1689) |
| OKLCH | oklch(63.66% 0.17 262.7) |
| XYZ | xyz(27.7900, 25.1477, 86.5915) |
| Luminance | 0.2515 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 1.86
Soft Blue
#6488EA
ΔE00 2.57
Lightish Blue
#3D7AFD
ΔE00 3.97
Azure
#007FFF
ΔE00 4.17
Clear Blue
#247AFD
ΔE00 4.36
Cornflowerblue
#6495ED
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5186F1 #F1BC51
analogous
#51D6F1 #5186F1 #6C51F1
triadic
#5186F1 #F15186 #86F151
tetradic
#5186F1 #F151D6 #F1BC51 #51F16C
square
#5186F1 #F151D6 #F1BC51 #51F16C
split-complementary
#5186F1 #F16C51 #D6F151
monochromatic
#0F47B9 #185FEC #5186F1 #8AADF6 #C2D5FA
Accessibility & contrast
On white
3.48
#5186F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.03
#5186F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5186F1
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5186F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5186F1 | 1.00 | 3.48 | 6.03 | 6.03 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5191F5
Deuteranopia (green-blind)
#3482EF
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #5186f1; /* rgb */ color: rgb(81, 134, 241); /* oklch */ color: oklch(63.7% 0.170 262.7);
Tailwind
colors: {
custom: {
50: '#92a8f6',
500: '#5186f1',
950: '#000000',
},
}SCSS
$custom: #5186f1; $custom-light: #92a8f6; $custom-dark: #000000;
JSON
{
"hex": "#5186f1",
"rgb": {
"r": 81,
"g": 134,
"b": 241
},
"hsl": {
"h": 220.125,
"s": 85.106,
"l": 63.137
},
"oklch": {
"l": 0.63659,
"c": 0.17025,
"h": 262.7
},
"luminance": 0.2515
}Semantic roles & 50–950 ramp
primary
#5186F1
secondary
#ECD9B2
accent
#9804E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85