#5789F2#5789F2
#5789F2 is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.6% C 0.166 H 263.3°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5789F2 |
|---|---|
| RGB | rgb(87, 137, 242) |
| HSL | hsl(221, 86%, 65%) |
| HSV | hsv(221, 64%, 95%) |
| CMYK | cmyk(64%, 43.4%, 0%, 5.1%) |
| CIE-LAB | lab(58.34, 15.76, -57.79) |
| CIE-LCH | lch(58.34, 59.90, 285.25°) |
| OKLab | oklab(64.61% -0.0193 -0.165) |
| OKLCH | oklch(64.61% 0.166 263.3) |
| XYZ | xyz(28.8975, 26.3256, 87.5457) |
| Luminance | 0.2633 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.13
Dodger Blue
#3E82FC
ΔE00 2.75
Cornflowerblue
#6495ED
ΔE00 3.68
Dark Sky Blue
#448EE4
ΔE00 4.69
Lightish Blue
#3D7AFD
ΔE00 4.87
Azure
#007FFF
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5789F2 #F2C057
analogous
#57D7F2 #5789F2 #7357F2
triadic
#5789F2 #F25789 #89F257
tetradic
#5789F2 #F257D7 #F2C057 #57F273
square
#5789F2 #F257D7 #F2C057 #57F273
split-complementary
#5789F2 #F27357 #D7F257
monochromatic
#0F48C0 #1E61EE #5789F2 #90B1F6 #C9D9FB
Accessibility & contrast
On white
3.35
#5789F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#5789F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5789F2
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5789F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5789F2 | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5794F6
Deuteranopia (green-blind)
#3E86F0
Tritanopia (blue-blind)
#00A1B2
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5789f2; /* rgb */ color: rgb(87, 137, 242); /* oklch */ color: oklch(64.6% 0.166 263.3);
Tailwind
colors: {
custom: {
50: '#94aaf7',
500: '#5789f2',
950: '#000000',
},
}SCSS
$custom: #5789f2; $custom-light: #94aaf7; $custom-dark: #000000;
JSON
{
"hex": "#5789f2",
"rgb": {
"r": 87,
"g": 137,
"b": 242
},
"hsl": {
"h": 220.645,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.64615,
"c": 0.16614,
"h": 263.3
},
"luminance": 0.26328
}Semantic roles & 50–950 ramp
primary
#5789F2
secondary
#EDDCB8
accent
#9A03E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85