#5789EF#5789EF
#5789EF is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.4% C 0.162 H 263.0°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #5789EF |
|---|---|
| RGB | rgb(87, 137, 239) |
| HSL | hsl(220, 83%, 64%) |
| HSV | hsv(220, 64%, 94%) |
| CMYK | cmyk(63.6%, 42.7%, 0%, 6.3%) |
| CIE-LAB | lab(58.18, 14.74, -56.40) |
| CIE-LCH | lch(58.18, 58.30, 284.65°) |
| OKLab | oklab(64.43% -0.0198 -0.1609) |
| OKLCH | oklch(64.43% 0.162 263) |
| XYZ | xyz(28.4507, 26.1469, 85.1921) |
| Luminance | 0.2615 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.16
Dodger Blue
#3E82FC
ΔE00 2.78
Cornflowerblue
#6495ED
ΔE00 3.67
Dark Sky Blue
#448EE4
ΔE00 4.49
Lightish Blue
#3D7AFD
ΔE00 4.93
Azure
#007FFF
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5789EF #EFBD57
analogous
#57D5EF #5789EF #7157EF
triadic
#5789EF #EF5789 #89EF57
tetradic
#5789EF #EF57D5 #EFBD57 #57EF71
square
#5789EF #EF57D5 #EFBD57 #57EF71
split-complementary
#5789EF #EF7157 #D5EF57
monochromatic
#1249BA #1F62EA #5789EF #8FB0F4 #C7D7FA
Accessibility & contrast
On white
3.37
#5789EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.23
#5789EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5789EF
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5789EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5789EF | 1.00 | 3.37 | 6.23 | 6.23 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5993F3
Deuteranopia (green-blind)
#4185ED
Tritanopia (blue-blind)
#00A0B0
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5789ef; /* rgb */ color: rgb(87, 137, 239); /* oklch */ color: oklch(64.4% 0.162 263.0);
Tailwind
colors: {
custom: {
50: '#94aaf5',
500: '#5789ef',
950: '#000000',
},
}SCSS
$custom: #5789ef; $custom-light: #94aaf5; $custom-dark: #000000;
JSON
{
"hex": "#5789ef",
"rgb": {
"r": 87,
"g": 137,
"b": 239
},
"hsl": {
"h": 220.263,
"s": 82.609,
"l": 63.922
},
"oklch": {
"l": 0.64431,
"c": 0.16215,
"h": 263
},
"luminance": 0.2615
}Semantic roles & 50–950 ramp
primary
#5789EF
secondary
#ECDAB6
accent
#9806DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85