#5789EB#5789EB
#5789EB is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.2% C 0.157 H 262.5°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5789EB |
|---|---|
| RGB | rgb(87, 137, 235) |
| HSL | hsl(220, 79%, 63%) |
| HSV | hsv(220, 63%, 92%) |
| CMYK | cmyk(63%, 41.7%, 0%, 7.8%) |
| CIE-LAB | lab(57.95, 13.39, -54.54) |
| CIE-LCH | lch(57.95, 56.16, 283.80°) |
| OKLab | oklab(64.19% -0.0206 -0.1554) |
| OKLCH | oklch(64.19% 0.157 262.5) |
| XYZ | xyz(27.8663, 25.9131, 82.1144) |
| Luminance | 0.2592 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.28
Dodger Blue
#3E82FC
ΔE00 2.88
Cornflowerblue
#6495ED
ΔE00 3.71
Dark Sky Blue
#448EE4
ΔE00 4.23
Azure
#007FFF
ΔE00 4.93
Faded Blue
#658CBB
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5789EB #EBB957
analogous
#57D3EB #5789EB #6F57EB
triadic
#5789EB #EB5789 #89EB57
tetradic
#5789EB #EB57D3 #EBB957 #57EB6F
square
#5789EB #EB57D3 #EBB957 #57EB6F
split-complementary
#5789EB #EB6F57 #D3EB57
monochromatic
#154AB2 #2063E4 #5789EB #8EAFF2 #C4D6F8
Accessibility & contrast
On white
3.40
#5789EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.18
#5789EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5789EB
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5789EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5789EB | 1.00 | 3.40 | 6.18 | 6.18 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C93EF
Deuteranopia (green-blind)
#4685E9
Tritanopia (blue-blind)
#009FAE
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #5789eb; /* rgb */ color: rgb(87, 137, 235); /* oklch */ color: oklch(64.2% 0.157 262.5);
Tailwind
colors: {
custom: {
50: '#93aaf2',
500: '#5789eb',
950: '#000000',
},
}SCSS
$custom: #5789eb; $custom-light: #93aaf2; $custom-dark: #000000;
JSON
{
"hex": "#5789eb",
"rgb": {
"r": 87,
"g": 137,
"b": 235
},
"hsl": {
"h": 219.73,
"s": 78.723,
"l": 63.137
},
"oklch": {
"l": 0.64188,
"c": 0.15681,
"h": 262.5
},
"luminance": 0.25916
}Semantic roles & 50–950 ramp
primary
#5789EB
secondary
#E9D7B4
accent
#950ADB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85