#5188E7#5188E7
#5188E7 is a light, vivid blue. Relative luminance 0.251; OKLCH L 63.5% C 0.155 H 260.6°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5188E7 |
|---|---|
| RGB | rgb(81, 136, 231) |
| HSL | hsl(218, 76%, 61%) |
| HSV | hsv(218, 65%, 91%) |
| CMYK | cmyk(64.9%, 41.1%, 0%, 9.4%) |
| CIE-LAB | lab(57.20, 11.62, -53.54) |
| CIE-LCH | lch(57.20, 54.78, 282.24°) |
| OKLab | oklab(63.46% -0.0253 -0.1526) |
| OKLCH | oklch(63.46% 0.155 260.6) |
| XYZ | xyz(26.6162, 25.1246, 79.0327) |
| Luminance | 0.2513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.68
Soft Blue
#6488EA
ΔE00 3.21
Dark Sky Blue
#448EE4
ΔE00 3.51
Azure
#007FFF
ΔE00 4.22
Cornflowerblue
#6495ED
ΔE00 4.26
Faded Blue
#658CBB
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5188E7 #E7B051
analogous
#51D3E7 #5188E7 #6551E7
triadic
#5188E7 #E75188 #88E751
tetradic
#5188E7 #E751D3 #E7B051 #51E765
square
#5188E7 #E751D3 #E7B051 #51E765
split-complementary
#5188E7 #E76551 #D3E751
monochromatic
#174CA7 #1E64DC #5188E7 #87ADEE #BDD2F6
Accessibility & contrast
On white
3.49
#5188E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.03
#5188E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5188E7
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5188E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5188E7 | 1.00 | 3.49 | 6.03 | 6.03 |
| #FFFFFF | 3.49 | 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)
#5C91EB
Deuteranopia (green-blind)
#4583E5
Tritanopia (blue-blind)
#009EAC
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #5188e7; /* rgb */ color: rgb(81, 136, 231); /* oklch */ color: oklch(63.5% 0.155 260.6);
Tailwind
colors: {
custom: {
50: '#90aaef',
500: '#5188e7',
950: '#000000',
},
}SCSS
$custom: #5188e7; $custom-light: #90aaef; $custom-dark: #000000;
JSON
{
"hex": "#5188e7",
"rgb": {
"r": 81,
"g": 136,
"b": 231
},
"hsl": {
"h": 218,
"s": 75.758,
"l": 61.176
},
"oklch": {
"l": 0.63459,
"c": 0.15471,
"h": 260.6
},
"luminance": 0.25127
}Semantic roles & 50–950 ramp
primary
#5188E7
secondary
#E6D1AE
accent
#8E0ED8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84