#5786FA#5786FA
#5786FA is a light, vivid blue. Relative luminance 0.260; OKLCH L 64.5% C 0.180 H 265.1°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5786FA |
|---|---|
| RGB | rgb(87, 134, 250) |
| HSL | hsl(223, 94%, 66%) |
| HSV | hsv(223, 65%, 98%) |
| CMYK | cmyk(65.2%, 46.4%, 0%, 2%) |
| CIE-LAB | lab(58.01, 20.29, -62.74) |
| CIE-LCH | lch(58.01, 65.94, 287.92°) |
| OKLab | oklab(64.51% -0.0153 -0.1796) |
| OKLCH | oklch(64.51% 0.18 265.1) |
| XYZ | xyz(29.7049, 25.9757, 93.8723) |
| Luminance | 0.2598 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.14
Dodger Blue
#3E82FC
ΔE00 2.60
Lightish Blue
#3D7AFD
ΔE00 4.05
Cornflowerblue
#6495ED
ΔE00 4.77
Clear Blue
#247AFD
ΔE00 4.97
Azure
#007FFF
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5786FA #FACB57
analogous
#57D8FA #5786FA #7957FA
triadic
#5786FA #FA5786 #86FA57
tetradic
#5786FA #FA57D8 #FACB57 #57FA79
square
#5786FA #FA57D8 #FACB57 #57FA79
split-complementary
#5786FA #FA7957 #D8FA57
monochromatic
#0641D0 #1C5BF8 #5786FA #92B1FC #CEDCFE
Accessibility & contrast
On white
3.39
#5786FA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.20
#5786FA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5786FA
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5786FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5786FA | 1.00 | 3.39 | 6.20 | 6.20 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B93FE
Deuteranopia (green-blind)
#2984F8
Tritanopia (blue-blind)
#00A1B4
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5786fa; /* rgb */ color: rgb(87, 134, 250); /* oklch */ color: oklch(64.5% 0.180 265.1);
Tailwind
colors: {
custom: {
50: '#96a8fd',
500: '#5786fa',
950: '#000000',
},
}SCSS
$custom: #5786fa; $custom-light: #96a8fd; $custom-dark: #000000;
JSON
{
"hex": "#5786fa",
"rgb": {
"r": 87,
"g": 134,
"b": 250
},
"hsl": {
"h": 222.699,
"s": 94.22,
"l": 66.078
},
"oklch": {
"l": 0.64511,
"c": 0.18025,
"h": 265.1
},
"luminance": 0.25979
}Semantic roles & 50–950 ramp
primary
#5786FA
secondary
#F1E2BC
accent
#A300E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86