#5188F2#5188F2
#5188F2 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.1% C 0.169 H 262.1°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #5188F2 |
|---|---|
| RGB | rgb(81, 136, 242) |
| HSL | hsl(220, 86%, 63%) |
| HSV | hsv(220, 67%, 95%) |
| CMYK | cmyk(66.5%, 43.8%, 0%, 5.1%) |
| CIE-LAB | lab(57.81, 15.39, -58.66) |
| CIE-LCH | lch(57.81, 60.64, 284.70°) |
| OKLab | oklab(64.13% -0.0233 -0.1677) |
| OKLCH | oklch(64.13% 0.169 262.1) |
| XYZ | xyz(28.2188, 25.7657, 87.4733) |
| Luminance | 0.2577 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.19
Soft Blue
#6488EA
ΔE00 2.75
Cornflowerblue
#6495ED
ΔE00 4.04
Dark Sky Blue
#448EE4
ΔE00 4.22
Azure
#007FFF
ΔE00 4.33
Lightish Blue
#3D7AFD
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5188F2 #F2BB51
analogous
#51D8F2 #5188F2 #6A51F2
triadic
#5188F2 #F25188 #88F251
tetradic
#5188F2 #F251D8 #F2BB51 #51F26A
square
#5188F2 #F251D8 #F2BB51 #51F26A
split-complementary
#5188F2 #F26A51 #D8F251
monochromatic
#0E49BB #1861EE #5188F2 #8AAFF6 #C3D6FB
Accessibility & contrast
On white
3.41
#5188F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#5188F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5188F2
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5188F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5188F2 | 1.00 | 3.41 | 6.15 | 6.15 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5593F6
Deuteranopia (green-blind)
#3884F0
Tritanopia (blue-blind)
#00A0B1
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5188f2; /* rgb */ color: rgb(81, 136, 242); /* oklch */ color: oklch(64.1% 0.169 262.1);
Tailwind
colors: {
custom: {
50: '#92aaf7',
500: '#5188f2',
950: '#000000',
},
}SCSS
$custom: #5188f2; $custom-light: #92aaf7; $custom-dark: #000000;
JSON
{
"hex": "#5188f2",
"rgb": {
"r": 81,
"g": 136,
"b": 242
},
"hsl": {
"h": 219.503,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.64135,
"c": 0.16928,
"h": 262.1
},
"luminance": 0.25768
}Semantic roles & 50–950 ramp
primary
#5188F2
secondary
#ECD8B3
accent
#9603E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85