#5789F5#5789F5
#5789F5 is a light, vivid blue. Relative luminance 0.265; OKLCH L 64.8% C 0.170 H 263.7°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #5789F5 |
|---|---|
| RGB | rgb(87, 137, 245) |
| HSL | hsl(221, 89%, 65%) |
| HSV | hsv(221, 64%, 96%) |
| CMYK | cmyk(64.5%, 44.1%, 0%, 3.9%) |
| CIE-LAB | lab(58.52, 16.78, -59.18) |
| CIE-LCH | lch(58.52, 61.51, 285.83°) |
| OKLab | oklab(64.8% -0.0188 -0.1691) |
| OKLCH | oklch(64.8% 0.17 263.7) |
| XYZ | xyz(29.3518, 26.5073, 89.9381) |
| Luminance | 0.2651 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.16
Dodger Blue
#3E82FC
ΔE00 2.76
Cornflowerblue
#6495ED
ΔE00 3.72
Lightish Blue
#3D7AFD
ΔE00 4.84
Dark Sky Blue
#448EE4
ΔE00 4.91
Azure
#007FFF
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5789F5 #F5C357
analogous
#57D8F5 #5789F5 #7457F5
triadic
#5789F5 #F55789 #89F557
tetradic
#5789F5 #F557D8 #F5C357 #57F574
square
#5789F5 #F557D8 #F5C357 #57F574
split-complementary
#5789F5 #F57457 #D8F557
monochromatic
#0C47C6 #1D60F2 #5789F5 #91B2F8 #CBDAFC
Accessibility & contrast
On white
3.33
#5789F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.30
#5789F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5789F5
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5789F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5789F5 | 1.00 | 3.33 | 6.30 | 6.30 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5594F9
Deuteranopia (green-blind)
#3A86F3
Tritanopia (blue-blind)
#00A2B3
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #5789f5; /* rgb */ color: rgb(87, 137, 245); /* oklch */ color: oklch(64.8% 0.170 263.7);
Tailwind
colors: {
custom: {
50: '#95aaf9',
500: '#5789f5',
950: '#000000',
},
}SCSS
$custom: #5789f5; $custom-light: #95aaf9; $custom-dark: #000000;
JSON
{
"hex": "#5789f5",
"rgb": {
"r": 87,
"g": 137,
"b": 245
},
"hsl": {
"h": 221.013,
"s": 88.764,
"l": 65.098
},
"oklch": {
"l": 0.64802,
"c": 0.17012,
"h": 263.7
},
"luminance": 0.2651
}Semantic roles & 50–950 ramp
primary
#5789F5
secondary
#EFDEB9
accent
#9D00E5
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1017
muted
#7E7F85