#5186E3#5186E3
#5186E3 is a light, vivid blue. Relative luminance 0.243; OKLCH L 62.8% C 0.152 H 260.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #5186E3 |
|---|---|
| RGB | rgb(81, 134, 227) |
| HSL | hsl(218, 72%, 60%) |
| HSV | hsv(218, 64%, 89%) |
| CMYK | cmyk(64.3%, 41%, 0%, 11%) |
| CIE-LAB | lab(56.43, 11.45, -52.53) |
| CIE-LCH | lch(56.43, 53.77, 282.30°) |
| OKLab | oklab(62.79% -0.0241 -0.1497) |
| OKLCH | oklch(62.79% 0.152 260.8) |
| XYZ | xyz(25.7787, 24.3431, 75.9983) |
| Luminance | 0.2435 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.65
Soft Blue
#6488EA
ΔE00 3.25
Dark Sky Blue
#448EE4
ΔE00 3.97
Azure
#007FFF
ΔE00 4.09
Clear Blue
#247AFD
ΔE00 4.56
Lightish Blue
#3D7AFD
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5186E3 #E3AE51
analogous
#51CFE3 #5186E3 #6551E3
triadic
#5186E3 #E35186 #86E351
tetradic
#5186E3 #E351CF #E3AE51 #51E365
square
#5186E3 #E351CF #E3AE51 #51E365
split-complementary
#5186E3 #E36551 #CFE351
monochromatic
#1A4AA0 #2263D5 #5186E3 #86ABEB #BACFF4
Accessibility & contrast
On white
3.58
#5186E3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#5186E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5186E3
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5186E3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5186E3 | 1.00 | 3.58 | 5.87 | 5.87 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C8FE7
Deuteranopia (green-blind)
#4581E1
Tritanopia (blue-blind)
#009BA9
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #5186e3; /* rgb */ color: rgb(81, 134, 227); /* oklch */ color: oklch(62.8% 0.152 260.8);
Tailwind
colors: {
custom: {
50: '#8fa8ec',
500: '#5186e3',
950: '#000000',
},
}SCSS
$custom: #5186e3; $custom-light: #8fa8ec; $custom-dark: #000000;
JSON
{
"hex": "#5186e3",
"rgb": {
"r": 81,
"g": 134,
"b": 227
},
"hsl": {
"h": 218.219,
"s": 72.277,
"l": 60.392
},
"oklch": {
"l": 0.62794,
"c": 0.15164,
"h": 260.8
},
"luminance": 0.24346
}Semantic roles & 50–950 ramp
primary
#5186E3
secondary
#E4D0AC
accent
#8D11D4
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84