#5789E8#5789E8
#5789E8 is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.0% C 0.153 H 262.0°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #5789E8 |
|---|---|
| RGB | rgb(87, 137, 232) |
| HSL | hsl(219, 76%, 63%) |
| HSV | hsv(219, 63%, 91%) |
| CMYK | cmyk(62.5%, 40.9%, 0%, 9%) |
| CIE-LAB | lab(57.79, 12.38, -53.13) |
| CIE-LCH | lch(57.79, 54.56, 283.12°) |
| OKLab | oklab(64.01% -0.0211 -0.1513) |
| OKLCH | oklch(64.01% 0.153 262) |
| XYZ | xyz(27.4365, 25.7412, 79.8510) |
| Luminance | 0.2574 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.42
Dodger Blue
#3E82FC
ΔE00 2.99
Cornflowerblue
#6495ED
ΔE00 3.76
Dark Sky Blue
#448EE4
ΔE00 4.05
Faded Blue
#658CBB
ΔE00 4.72
Azure
#007FFF
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5789E8 #E8B657
analogous
#57D2E8 #5789E8 #6D57E8
triadic
#5789E8 #E85789 #89E857
tetradic
#5789E8 #E857D2 #E8B657 #57E86D
square
#5789E8 #E857D2 #E8B657 #57E86D
split-complementary
#5789E8 #E86D57 #D2E857
monochromatic
#184BAD #2163E1 #5789E8 #8DAFEF #C3D5F7
Accessibility & contrast
On white
3.42
#5789E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#5789E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5789E8
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5789E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5789E8 | 1.00 | 3.42 | 6.15 | 6.15 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E92EC
Deuteranopia (green-blind)
#4985E6
Tritanopia (blue-blind)
#009FAD
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5789e8; /* rgb */ color: rgb(87, 137, 232); /* oklch */ color: oklch(64.0% 0.153 262.0);
Tailwind
colors: {
custom: {
50: '#93aaf0',
500: '#5789e8',
950: '#000000',
},
}SCSS
$custom: #5789e8; $custom-light: #93aaf0; $custom-dark: #000000;
JSON
{
"hex": "#5789e8",
"rgb": {
"r": 87,
"g": 137,
"b": 232
},
"hsl": {
"h": 219.31,
"s": 75.916,
"l": 62.549
},
"oklch": {
"l": 0.64008,
"c": 0.1528,
"h": 262
},
"luminance": 0.25744
}Semantic roles & 50–950 ramp
primary
#5789E8
secondary
#E8D6B3
accent
#920DD8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84