#5188ED#5188ED
#5188ED is a light, vivid blue. Relative luminance 0.255; OKLCH L 63.8% C 0.163 H 261.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5188ED |
|---|---|
| RGB | rgb(81, 136, 237) |
| HSL | hsl(219, 81%, 62%) |
| HSV | hsv(219, 66%, 93%) |
| CMYK | cmyk(65.8%, 42.6%, 0%, 7.1%) |
| CIE-LAB | lab(57.53, 13.67, -56.34) |
| CIE-LCH | lch(57.53, 57.98, 283.64°) |
| OKLab | oklab(63.82% -0.0242 -0.1609) |
| OKLCH | oklch(63.82% 0.163 261.5) |
| XYZ | xyz(27.4781, 25.4694, 83.5723) |
| Luminance | 0.2547 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.35
Soft Blue
#6488EA
ΔE00 2.90
Dark Sky Blue
#448EE4
ΔE00 3.87
Cornflowerblue
#6495ED
ΔE00 4.10
Azure
#007FFF
ΔE00 4.24
Lightish Blue
#3D7AFD
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5188ED #EDB651
analogous
#51D6ED #5188ED #6851ED
triadic
#5188ED #ED5188 #88ED51
tetradic
#5188ED #ED51D6 #EDB651 #51ED68
square
#5188ED #ED51D6 #EDB651 #51ED68
split-complementary
#5188ED #ED6851 #D6ED51
monochromatic
#124AB1 #1A62E7 #5188ED #88AEF3 #C0D4F8
Accessibility & contrast
On white
3.45
#5188ED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#5188ED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5188ED
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5188ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5188ED | 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)
#5892F1
Deuteranopia (green-blind)
#3F83EB
Tritanopia (blue-blind)
#009FAF
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #5188ed; /* rgb */ color: rgb(81, 136, 237); /* oklch */ color: oklch(63.8% 0.163 261.5);
Tailwind
colors: {
custom: {
50: '#91aaf3',
500: '#5188ed',
950: '#000000',
},
}SCSS
$custom: #5188ed; $custom-light: #91aaf3; $custom-dark: #000000;
JSON
{
"hex": "#5188ed",
"rgb": {
"r": 81,
"g": 136,
"b": 237
},
"hsl": {
"h": 218.846,
"s": 81.25,
"l": 62.353
},
"oklch": {
"l": 0.63824,
"c": 0.16266,
"h": 261.5
},
"luminance": 0.25472
}Semantic roles & 50–950 ramp
primary
#5188ED
secondary
#E9D5B0
accent
#9208DE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85