#5786F2#5786F2
#5786F2 is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.0% C 0.170 H 264.4°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #5786F2 |
|---|---|
| RGB | rgb(87, 134, 242) |
| HSL | hsl(222, 86%, 65%) |
| HSV | hsv(222, 64%, 95%) |
| CMYK | cmyk(64%, 44.6%, 0%, 5.1%) |
| CIE-LAB | lab(57.54, 17.57, -59.07) |
| CIE-LCH | lch(57.54, 61.63, 286.56°) |
| OKLab | oklab(64% -0.0165 -0.1688) |
| OKLCH | oklch(64% 0.17 264.4) |
| XYZ | xyz(28.4770, 25.4846, 87.4055) |
| Luminance | 0.2549 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.83
Dodger Blue
#3E82FC
ΔE00 2.42
Lightish Blue
#3D7AFD
ΔE00 4.04
Cornflowerblue
#6495ED
ΔE00 4.63
Clear Blue
#247AFD
ΔE00 4.79
Azure
#007FFF
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5786F2 #F2C357
analogous
#57D4F2 #5786F2 #7557F2
triadic
#5786F2 #F25786 #86F257
tetradic
#5786F2 #F257D4 #F2C357 #57F275
square
#5786F2 #F257D4 #F2C357 #57F275
split-complementary
#5786F2 #F27557 #D4F257
monochromatic
#0F44C0 #1E5DEE #5786F2 #90AFF6 #C9D8FB
Accessibility & contrast
On white
3.44
#5786F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.10
#5786F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5786F2
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5786F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5786F2 | 1.00 | 3.44 | 6.10 | 6.10 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5292F6
Deuteranopia (green-blind)
#3784F0
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #5786f2; /* rgb */ color: rgb(87, 134, 242); /* oklch */ color: oklch(64.0% 0.170 264.4);
Tailwind
colors: {
custom: {
50: '#95a8f7',
500: '#5786f2',
950: '#000000',
},
}SCSS
$custom: #5786f2; $custom-light: #95a8f7; $custom-dark: #000000;
JSON
{
"hex": "#5786f2",
"rgb": {
"r": 87,
"g": 134,
"b": 242
},
"hsl": {
"h": 221.806,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.64,
"c": 0.16962,
"h": 264.4
},
"luminance": 0.25487
}Semantic roles & 50–950 ramp
primary
#5786F2
secondary
#EDDDB8
accent
#9F03E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85