#5789F0#5789F0
#5789F0 is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.5% C 0.163 H 263.1°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #5789F0 |
|---|---|
| RGB | rgb(87, 137, 240) |
| HSL | hsl(220, 84%, 64%) |
| HSV | hsv(220, 64%, 94%) |
| CMYK | cmyk(63.7%, 42.9%, 0%, 5.9%) |
| CIE-LAB | lab(58.23, 15.08, -56.87) |
| CIE-LCH | lch(58.23, 58.83, 284.85°) |
| OKLab | oklab(64.49% -0.0197 -0.1623) |
| OKLCH | oklch(64.49% 0.163 263.1) |
| XYZ | xyz(28.5988, 26.2061, 85.9723) |
| Luminance | 0.2621 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.15
Dodger Blue
#3E82FC
ΔE00 2.77
Cornflowerblue
#6495ED
ΔE00 3.67
Dark Sky Blue
#448EE4
ΔE00 4.55
Lightish Blue
#3D7AFD
ΔE00 4.91
Azure
#007FFF
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5789F0 #F0BE57
analogous
#57D6F0 #5789F0 #7257F0
triadic
#5789F0 #F05789 #89F057
tetradic
#5789F0 #F057D6 #F0BE57 #57F072
square
#5789F0 #F057D6 #F0BE57 #57F072
split-complementary
#5789F0 #F07257 #D6F057
monochromatic
#1149BC #1F62EB #5789F0 #8FB0F5 #C7D8FA
Accessibility & contrast
On white
3.36
#5789F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.24
#5789F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5789F0
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5789F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5789F0 | 1.00 | 3.36 | 6.24 | 6.24 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5994F4
Deuteranopia (green-blind)
#4085EE
Tritanopia (blue-blind)
#00A1B1
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5789f0; /* rgb */ color: rgb(87, 137, 240); /* oklch */ color: oklch(64.5% 0.163 263.1);
Tailwind
colors: {
custom: {
50: '#94aaf5',
500: '#5789f0',
950: '#000000',
},
}SCSS
$custom: #5789f0; $custom-light: #94aaf5; $custom-dark: #000000;
JSON
{
"hex": "#5789f0",
"rgb": {
"r": 87,
"g": 137,
"b": 240
},
"hsl": {
"h": 220.392,
"s": 83.607,
"l": 64.118
},
"oklch": {
"l": 0.64492,
"c": 0.16348,
"h": 263.1
},
"luminance": 0.26209
}Semantic roles & 50–950 ramp
primary
#5789F0
secondary
#ECDBB7
accent
#9905E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85