#5187F4#5187F4
#5187F4 is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.1% C 0.173 H 262.7°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #5187F4 |
|---|---|
| RGB | rgb(81, 135, 244) |
| HSL | hsl(220, 88%, 64%) |
| HSV | hsv(220, 67%, 96%) |
| CMYK | cmyk(66.8%, 44.7%, 0%, 4.3%) |
| CIE-LAB | lab(57.66, 16.69, -60.01) |
| CIE-LCH | lch(57.66, 62.29, 285.54°) |
| OKLab | oklab(64.05% -0.022 -0.1716) |
| OKLCH | oklch(64.05% 0.173 262.7) |
| XYZ | xyz(28.3807, 25.6061, 89.0172) |
| Luminance | 0.2561 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 1.97
Soft Blue
#6488EA
ΔE00 2.61
Lightish Blue
#3D7AFD
ΔE00 4.21
Azure
#007FFF
ΔE00 4.31
Cornflowerblue
#6495ED
ΔE00 4.33
Clear Blue
#247AFD
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5187F4 #F4BE51
analogous
#51D8F4 #5187F4 #6C51F4
triadic
#5187F4 #F45187 #87F451
tetradic
#5187F4 #F451D8 #F4BE51 #51F46C
square
#5187F4 #F451D8 #F4BE51 #51F46C
split-complementary
#5187F4 #F46C51 #D8F451
monochromatic
#0C47BF #175FF0 #5187F4 #8BAFF8 #C4D6FB
Accessibility & contrast
On white
3.43
#5187F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.12
#5187F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5187F4
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5187F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5187F4 | 1.00 | 3.43 | 6.12 | 6.12 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5193F8
Deuteranopia (green-blind)
#3384F2
Tritanopia (blue-blind)
#00A0B2
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #5187f4; /* rgb */ color: rgb(81, 135, 244); /* oklch */ color: oklch(64.1% 0.173 262.7);
Tailwind
colors: {
custom: {
50: '#92a9f8',
500: '#5187f4',
950: '#000000',
},
}SCSS
$custom: #5187f4; $custom-light: #92a9f8; $custom-dark: #000000;
JSON
{
"hex": "#5187f4",
"rgb": {
"r": 81,
"g": 135,
"b": 244
},
"hsl": {
"h": 220.123,
"s": 88.108,
"l": 63.725
},
"oklch": {
"l": 0.64055,
"c": 0.17306,
"h": 262.7
},
"luminance": 0.25609
}Semantic roles & 50–950 ramp
primary
#5187F4
secondary
#EDDAB4
accent
#9901E5
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85