#5786E2#5786E2
#5786E2 is a light, vivid blue. Relative luminance 0.246; OKLCH L 63.0% C 0.148 H 262.5°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #5786E2 |
|---|---|
| RGB | rgb(87, 134, 226) |
| HSL | hsl(220, 71%, 61%) |
| HSV | hsv(220, 62%, 89%) |
| CMYK | cmyk(61.5%, 40.7%, 0%, 11.4%) |
| CIE-LAB | lab(56.65, 12.17, -51.61) |
| CIE-LCH | lch(56.65, 53.02, 283.27°) |
| OKLab | oklab(63.02% -0.0193 -0.1469) |
| OKLCH | oklch(63.02% 0.148 262.5) |
| XYZ | xyz(26.1783, 24.5651, 75.2987) |
| Luminance | 0.2457 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.45
Dodger Blue
#3E82FC
ΔE00 2.98
Faded Blue
#658CBB
ΔE00 4.51
Lightish Blue
#3D7AFD
ΔE00 4.59
Dark Sky Blue
#448EE4
ΔE00 4.66
Azure
#007FFF
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5786E2 #E2B357
analogous
#57CCE2 #5786E2 #6E57E2
triadic
#5786E2 #E25786 #86E257
tetradic
#5786E2 #E257CC #E2B357 #57E26E
square
#5786E2 #E257CC #E2B357 #57E26E
split-complementary
#5786E2 #E26E57 #CCE257
monochromatic
#1C4AA3 #2561D7 #5786E2 #8BACEB #BFD1F4
Accessibility & contrast
On white
3.55
#5786E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.91
#5786E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5786E2
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5786E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5786E2 | 1.00 | 3.55 | 5.91 | 5.91 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D8FE6
Deuteranopia (green-blind)
#4982E0
Tritanopia (blue-blind)
#009BA9
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #5786e2; /* rgb */ color: rgb(87, 134, 226); /* oklch */ color: oklch(63.0% 0.148 262.5);
Tailwind
colors: {
custom: {
50: '#92a8eb',
500: '#5786e2',
950: '#000000',
},
}SCSS
$custom: #5786e2; $custom-light: #92a8eb; $custom-dark: #000000;
JSON
{
"hex": "#5786e2",
"rgb": {
"r": 87,
"g": 134,
"b": 226
},
"hsl": {
"h": 219.712,
"s": 70.558,
"l": 61.373
},
"oklch": {
"l": 0.63021,
"c": 0.14816,
"h": 262.5
},
"luminance": 0.24567
}Semantic roles & 50–950 ramp
primary
#5786E2
secondary
#E4D3B0
accent
#9213D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84