#5187F1#5187F1
#5187F1 is a light, vivid blue. Relative luminance 0.254; OKLCH L 63.9% C 0.169 H 262.3°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5187F1 |
|---|---|
| RGB | rgb(81, 135, 241) |
| HSL | hsl(220, 85%, 63%) |
| HSV | hsv(220, 66%, 95%) |
| CMYK | cmyk(66.4%, 44%, 0%, 5.5%) |
| CIE-LAB | lab(57.49, 15.65, -58.63) |
| CIE-LCH | lch(57.49, 60.68, 284.95°) |
| OKLab | oklab(63.87% -0.0225 -0.1676) |
| OKLCH | oklch(63.87% 0.169 262.3) |
| XYZ | xyz(27.9289, 25.4254, 86.6378) |
| Luminance | 0.2543 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.01
Soft Blue
#6488EA
ΔE00 2.65
Azure
#007FFF
ΔE00 4.22
Lightish Blue
#3D7AFD
ΔE00 4.28
Cornflowerblue
#6495ED
ΔE00 4.34
Dark Sky Blue
#448EE4
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5187F1 #F1BB51
analogous
#51D7F1 #5187F1 #6B51F1
triadic
#5187F1 #F15187 #87F151
tetradic
#5187F1 #F151D7 #F1BB51 #51F16B
square
#5187F1 #F151D7 #F1BB51 #51F16B
split-complementary
#5187F1 #F16B51 #D7F151
monochromatic
#0F48B9 #1860EC #5187F1 #8AAEF6 #C2D5FA
Accessibility & contrast
On white
3.45
#5187F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#5187F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5187F1
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5187F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5187F1 | 1.00 | 3.45 | 6.09 | 6.09 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5392F5
Deuteranopia (green-blind)
#3783EF
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #5187f1; /* rgb */ color: rgb(81, 135, 241); /* oklch */ color: oklch(63.9% 0.169 262.3);
Tailwind
colors: {
custom: {
50: '#92a9f6',
500: '#5187f1',
950: '#000000',
},
}SCSS
$custom: #5187f1; $custom-light: #92a9f6; $custom-dark: #000000;
JSON
{
"hex": "#5187f1",
"rgb": {
"r": 81,
"g": 135,
"b": 241
},
"hsl": {
"h": 219.75,
"s": 85.106,
"l": 63.137
},
"oklch": {
"l": 0.63865,
"c": 0.1691,
"h": 262.3
},
"luminance": 0.25428
}Semantic roles & 50–950 ramp
primary
#5187F1
secondary
#ECD8B2
accent
#9704E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85