#5785EA#5785EA
#5785EA is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.3% C 0.160 H 264.0°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #5785EA |
|---|---|
| RGB | rgb(87, 133, 234) |
| HSL | hsl(221, 78%, 63%) |
| HSV | hsv(221, 63%, 92%) |
| CMYK | cmyk(62.8%, 43.2%, 0%, 8.2%) |
| CIE-LAB | lab(56.82, 15.47, -55.79) |
| CIE-LCH | lch(56.82, 57.90, 285.49°) |
| OKLab | oklab(63.3% -0.0168 -0.1592) |
| OKLCH | oklch(63.3% 0.16 264) |
| XYZ | xyz(27.1641, 24.7393, 81.1696) |
| Luminance | 0.2474 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.96
Dodger Blue
#3E82FC
ΔE00 2.54
Lightish Blue
#3D7AFD
ΔE00 3.99
Clear Blue
#247AFD
ΔE00 4.60
Azure
#007FFF
ΔE00 4.78
Cornflowerblue
#6495ED
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5785EA #EABC57
analogous
#57CFEA #5785EA #7257EA
triadic
#5785EA #EA5785 #85EA57
tetradic
#5785EA #EA57CF #EABC57 #57EA72
square
#5785EA #EA57CF #EABC57 #57EA72
split-complementary
#5785EA #EA7257 #CFEA57
monochromatic
#1646B1 #215DE3 #5785EA #8DADF1 #C4D4F8
Accessibility & contrast
On white
3.53
#5785EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.95
#5785EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5785EA
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5785EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5785EA | 1.00 | 3.53 | 5.95 | 5.95 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5690EE
Deuteranopia (green-blind)
#3F82E8
Tritanopia (blue-blind)
#009CAC
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #5785ea; /* rgb */ color: rgb(87, 133, 234); /* oklch */ color: oklch(63.3% 0.160 264.0);
Tailwind
colors: {
custom: {
50: '#93a8f1',
500: '#5785ea',
950: '#000000',
},
}SCSS
$custom: #5785ea; $custom-light: #93a8f1; $custom-dark: #000000;
JSON
{
"hex": "#5785ea",
"rgb": {
"r": 87,
"g": 133,
"b": 234
},
"hsl": {
"h": 221.224,
"s": 77.778,
"l": 62.941
},
"oklch": {
"l": 0.63297,
"c": 0.16008,
"h": 264
},
"luminance": 0.24742
}Semantic roles & 50–950 ramp
primary
#5785EA
secondary
#E9D8B4
accent
#990BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85