#5789E5#5789E5
#5789E5 is a light, vivid blue. Relative luminance 0.256; OKLCH L 63.8% C 0.149 H 261.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5789E5 |
|---|---|
| RGB | rgb(87, 137, 229) |
| HSL | hsl(219, 73%, 62%) |
| HSV | hsv(219, 62%, 90%) |
| CMYK | cmyk(62%, 40.2%, 0%, 10.2%) |
| CIE-LAB | lab(57.63, 11.38, -51.72) |
| CIE-LCH | lch(57.63, 52.96, 282.40°) |
| OKLab | oklab(63.83% -0.0217 -0.1472) |
| OKLCH | oklch(63.83% 0.149 261.6) |
| XYZ | xyz(27.0140, 25.5722, 77.6259) |
| Luminance | 0.2557 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.60
Dodger Blue
#3E82FC
ΔE00 3.13
Cornflowerblue
#6495ED
ΔE00 3.85
Dark Sky Blue
#448EE4
ΔE00 3.89
Faded Blue
#658CBB
ΔE00 4.49
Azure
#007FFF
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5789E5 #E5B357
analogous
#57D0E5 #5789E5 #6C57E5
triadic
#5789E5 #E55789 #89E557
tetradic
#5789E5 #E557D0 #E5B357 #57E56C
square
#5789E5 #E557D0 #E5B357 #57E56C
split-complementary
#5789E5 #E56C57 #D0E557
monochromatic
#1A4CA8 #2264DD #5789E5 #8CAEED #C1D3F5
Accessibility & contrast
On white
3.43
#5789E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#5789E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5789E5
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5789E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5789E5 | 1.00 | 3.43 | 6.11 | 6.11 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6092E9
Deuteranopia (green-blind)
#4C84E3
Tritanopia (blue-blind)
#009EAC
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #5789e5; /* rgb */ color: rgb(87, 137, 229); /* oklch */ color: oklch(63.8% 0.149 261.6);
Tailwind
colors: {
custom: {
50: '#92abee',
500: '#5789e5',
950: '#000000',
},
}SCSS
$custom: #5789e5; $custom-light: #92abee; $custom-dark: #000000;
JSON
{
"hex": "#5789e5",
"rgb": {
"r": 87,
"g": 137,
"b": 229
},
"hsl": {
"h": 218.873,
"s": 73.196,
"l": 61.961
},
"oklch": {
"l": 0.63831,
"c": 0.14879,
"h": 261.6
},
"luminance": 0.25575
}Semantic roles & 50–950 ramp
primary
#5789E5
secondary
#E6D4B2
accent
#9010D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84