#5786F5#5786F5
#5786F5 is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.2% C 0.174 H 264.7°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5786F5 |
|---|---|
| RGB | rgb(87, 134, 245) |
| HSL | hsl(222, 89%, 65%) |
| HSV | hsv(222, 64%, 96%) |
| CMYK | cmyk(64.5%, 45.3%, 0%, 3.9%) |
| CIE-LAB | lab(57.72, 18.59, -60.45) |
| CIE-LCH | lch(57.72, 63.25, 287.09°) |
| OKLab | oklab(64.19% -0.016 -0.1729) |
| OKLCH | oklch(64.19% 0.174 264.7) |
| XYZ | xyz(28.9313, 25.6663, 89.7979) |
| Luminance | 0.2567 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.90
Dodger Blue
#3E82FC
ΔE00 2.45
Lightish Blue
#3D7AFD
ΔE00 4.02
Cornflowerblue
#6495ED
ΔE00 4.67
Clear Blue
#247AFD
ΔE00 4.83
Azure
#007FFF
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5786F5 #F5C657
analogous
#57D5F5 #5786F5 #7757F5
triadic
#5786F5 #F55786 #86F557
tetradic
#5786F5 #F557D5 #F5C657 #57F577
square
#5786F5 #F557D5 #F5C657 #57F577
split-complementary
#5786F5 #F57757 #D5F557
monochromatic
#0C43C6 #1D5CF2 #5786F5 #91B0F8 #CBD9FC
Accessibility & contrast
On white
3.42
#5786F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#5786F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5786F5
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5786F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5786F5 | 1.00 | 3.42 | 6.13 | 6.13 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F92F9
Deuteranopia (green-blind)
#3284F3
Tritanopia (blue-blind)
#00A0B2
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5786f5; /* rgb */ color: rgb(87, 134, 245); /* oklch */ color: oklch(64.2% 0.174 264.7);
Tailwind
colors: {
custom: {
50: '#95a8f9',
500: '#5786f5',
950: '#000000',
},
}SCSS
$custom: #5786f5; $custom-light: #95a8f9; $custom-dark: #000000;
JSON
{
"hex": "#5786f5",
"rgb": {
"r": 87,
"g": 134,
"b": 245
},
"hsl": {
"h": 222.152,
"s": 88.764,
"l": 65.098
},
"oklch": {
"l": 0.6419,
"c": 0.17361,
"h": 264.7
},
"luminance": 0.25669
}Semantic roles & 50–950 ramp
primary
#5786F5
secondary
#EFDFB9
accent
#A100E5
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85