#5785E5#5785E5
#5785E5 is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.0% C 0.153 H 263.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5785E5 |
|---|---|
| RGB | rgb(87, 133, 229) |
| HSL | hsl(221, 73%, 62%) |
| HSV | hsv(221, 62%, 90%) |
| CMYK | cmyk(62%, 41.9%, 0%, 10.2%) |
| CIE-LAB | lab(56.54, 13.78, -53.45) |
| CIE-LCH | lch(56.54, 55.20, 284.46°) |
| OKLab | oklab(62.99% -0.0177 -0.1523) |
| OKLCH | oklch(62.99% 0.153 263.4) |
| XYZ | xyz(26.4559, 24.4561, 77.4398) |
| Luminance | 0.2446 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.22
Dodger Blue
#3E82FC
ΔE00 2.78
Lightish Blue
#3D7AFD
ΔE00 4.20
Clear Blue
#247AFD
ΔE00 4.68
Azure
#007FFF
ΔE00 4.77
Faded Blue
#658CBB
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5785E5 #E5B757
analogous
#57CCE5 #5785E5 #7057E5
triadic
#5785E5 #E55785 #85E557
tetradic
#5785E5 #E557CC #E5B757 #57E570
square
#5785E5 #E557CC #E5B757 #57E570
split-complementary
#5785E5 #E57057 #CCE557
monochromatic
#1A48A8 #225FDD #5785E5 #8CABED #C1D2F5
Accessibility & contrast
On white
3.56
#5785E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.89
#5785E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5785E5
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5785E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5785E5 | 1.00 | 3.56 | 5.89 | 5.89 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#598FE9
Deuteranopia (green-blind)
#4482E3
Tritanopia (blue-blind)
#009BAA
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #5785e5; /* rgb */ color: rgb(87, 133, 229); /* oklch */ color: oklch(63.0% 0.153 263.4);
Tailwind
colors: {
custom: {
50: '#93a8ee',
500: '#5785e5',
950: '#000000',
},
}SCSS
$custom: #5785e5; $custom-light: #93a8ee; $custom-dark: #000000;
JSON
{
"hex": "#5785e5",
"rgb": {
"r": 87,
"g": 133,
"b": 229
},
"hsl": {
"h": 220.563,
"s": 73.196,
"l": 61.961
},
"oklch": {
"l": 0.62991,
"c": 0.15335,
"h": 263.4
},
"luminance": 0.24458
}Semantic roles & 50–950 ramp
primary
#5785E5
secondary
#E6D5B2
accent
#9510D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84