#5789F3#5789F3
#5789F3 is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.7% C 0.167 H 263.4°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #5789F3 |
|---|---|
| RGB | rgb(87, 137, 243) |
| HSL | hsl(221, 87%, 65%) |
| HSV | hsv(221, 64%, 95%) |
| CMYK | cmyk(64.2%, 43.6%, 0%, 4.7%) |
| CIE-LAB | lab(58.40, 16.10, -58.26) |
| CIE-LCH | lch(58.40, 60.44, 285.45°) |
| OKLab | oklab(64.68% -0.0191 -0.1664) |
| OKLCH | oklch(64.68% 0.167 263.4) |
| XYZ | xyz(29.0481, 26.3859, 88.3388) |
| Luminance | 0.2639 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.14
Dodger Blue
#3E82FC
ΔE00 2.75
Cornflowerblue
#6495ED
ΔE00 3.69
Dark Sky Blue
#448EE4
ΔE00 4.76
Lightish Blue
#3D7AFD
ΔE00 4.86
Azure
#007FFF
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5789F3 #F3C157
analogous
#57D7F3 #5789F3 #7357F3
triadic
#5789F3 #F35789 #89F357
tetradic
#5789F3 #F357D7 #F3C157 #57F373
square
#5789F3 #F357D7 #F3C157 #57F373
split-complementary
#5789F3 #F37357 #D7F357
monochromatic
#0E48C2 #1E61EF #5789F3 #90B1F7 #C9D9FB
Accessibility & contrast
On white
3.35
#5789F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.28
#5789F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5789F3
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5789F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5789F3 | 1.00 | 3.35 | 6.28 | 6.28 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5794F7
Deuteranopia (green-blind)
#3D86F1
Tritanopia (blue-blind)
#00A1B2
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5789f3; /* rgb */ color: rgb(87, 137, 243); /* oklch */ color: oklch(64.7% 0.167 263.4);
Tailwind
colors: {
custom: {
50: '#95aaf8',
500: '#5789f3',
950: '#000000',
},
}SCSS
$custom: #5789f3; $custom-light: #95aaf8; $custom-dark: #000000;
JSON
{
"hex": "#5789f3",
"rgb": {
"r": 87,
"g": 137,
"b": 243
},
"hsl": {
"h": 220.769,
"s": 86.667,
"l": 64.706
},
"oklch": {
"l": 0.64677,
"c": 0.16747,
"h": 263.4
},
"luminance": 0.26389
}Semantic roles & 50–950 ramp
primary
#5789F3
secondary
#EEDDB8
accent
#9B02E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85