#5786FD#5786FD
#5786FD is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.7% C 0.184 H 265.4°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #5786FD |
|---|---|
| RGB | rgb(87, 134, 253) |
| HSL | hsl(223, 98%, 67%) |
| HSV | hsv(223, 66%, 99%) |
| CMYK | cmyk(65.6%, 47%, 0%, 0.8%) |
| CIE-LAB | lab(58.19, 21.31, -64.10) |
| CIE-LCH | lch(58.19, 67.55, 288.39°) |
| OKLab | oklab(64.71% -0.0149 -0.1836) |
| OKLCH | oklch(64.71% 0.184 265.4) |
| XYZ | xyz(30.1790, 26.1654, 96.3694) |
| Luminance | 0.2617 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.34
Dodger Blue
#3E82FC
ΔE00 2.74
Lightish Blue
#3D7AFD
ΔE00 4.10
Cornflowerblue
#6495ED
ΔE00 4.86
Clear Blue
#247AFD
ΔE00 5.07
Azure
#007FFF
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5786FD #FDCE57
analogous
#57D9FD #5786FD #7B57FD
triadic
#5786FD #FD5786 #86FD57
tetradic
#5786FD #FD57D9 #FDCE57 #57FD7B
square
#5786FD #FD57D9 #FDCE57 #57FD7B
split-complementary
#5786FD #FD7B57 #D9FD57
monochromatic
#033FD7 #1B5AFC #5786FD #93B2FE #D0DDFE
Accessibility & contrast
On white
3.37
#5786FD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.23
#5786FD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5786FD
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5786FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5786FD | 1.00 | 3.37 | 6.23 | 6.23 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4894FF
Deuteranopia (green-blind)
#2285FB
Tritanopia (blue-blind)
#00A2B5
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5786fd; /* rgb */ color: rgb(87, 134, 253); /* oklch */ color: oklch(64.7% 0.184 265.4);
Tailwind
colors: {
custom: {
50: '#96a8ff',
500: '#5786fd',
950: '#000000',
},
}SCSS
$custom: #5786fd; $custom-light: #96a8ff; $custom-dark: #000000;
JSON
{
"hex": "#5786fd",
"rgb": {
"r": 87,
"g": 134,
"b": 253
},
"hsl": {
"h": 223.012,
"s": 97.647,
"l": 66.667
},
"oklch": {
"l": 0.64707,
"c": 0.18421,
"h": 265.4
},
"luminance": 0.26168
}Semantic roles & 50–950 ramp
primary
#5786FD
secondary
#F3E3BD
accent
#A500E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86