#5786E7#5786E7
#5786E7 is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.3% C 0.155 H 263.2°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #5786E7 |
|---|---|
| RGB | rgb(87, 134, 231) |
| HSL | hsl(220, 75%, 62%) |
| HSV | hsv(220, 62%, 91%) |
| CMYK | cmyk(62.3%, 42%, 0%, 9.4%) |
| CIE-LAB | lab(56.92, 13.85, -53.96) |
| CIE-LCH | lch(56.92, 55.71, 284.40°) |
| OKLab | oklab(63.32% -0.0184 -0.1538) |
| OKLCH | oklch(63.32% 0.155 263.2) |
| XYZ | xyz(26.8744, 24.8435, 78.9648) |
| Luminance | 0.2485 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.11
Dodger Blue
#3E82FC
ΔE00 2.70
Lightish Blue
#3D7AFD
ΔE00 4.36
Cornflowerblue
#6495ED
ΔE00 4.70
Azure
#007FFF
ΔE00 4.76
Clear Blue
#247AFD
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5786E7 #E7B857
analogous
#57CEE7 #5786E7 #7057E7
triadic
#5786E7 #E75786 #86E757
tetradic
#5786E7 #E757CE #E7B857 #57E770
square
#5786E7 #E757CE #E7B857 #57E770
split-complementary
#5786E7 #E77057 #CEE757
monochromatic
#1848AB #215FDF #5786E7 #8DADEF #C2D3F6
Accessibility & contrast
On white
3.52
#5786E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.97
#5786E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5786E7
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5786E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5786E7 | 1.00 | 3.52 | 5.97 | 5.97 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A90EB
Deuteranopia (green-blind)
#4482E5
Tritanopia (blue-blind)
#009CAB
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #5786e7; /* rgb */ color: rgb(87, 134, 231); /* oklch */ color: oklch(63.3% 0.155 263.2);
Tailwind
colors: {
custom: {
50: '#93a8ef',
500: '#5786e7',
950: '#000000',
},
}SCSS
$custom: #5786e7; $custom-light: #93a8ef; $custom-dark: #000000;
JSON
{
"hex": "#5786e7",
"rgb": {
"r": 87,
"g": 134,
"b": 231
},
"hsl": {
"h": 220.417,
"s": 75,
"l": 62.353
},
"oklch": {
"l": 0.63321,
"c": 0.15488,
"h": 263.2
},
"luminance": 0.24846
}Semantic roles & 50–950 ramp
primary
#5786E7
secondary
#E7D6B3
accent
#960ED7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84