#5581E4#5581E4
#5581E4 is a mid, vivid blue. Relative luminance 0.232; OKLCH L 62.0% C 0.157 H 264.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5581E4 |
|---|---|
| RGB | rgb(85, 129, 228) |
| HSL | hsl(222, 73%, 61%) |
| HSV | hsv(222, 63%, 89%) |
| CMYK | cmyk(62.7%, 43.4%, 0%, 10.6%) |
| CIE-LAB | lab(55.31, 15.51, -54.87) |
| CIE-LCH | lch(55.31, 57.02, 285.79°) |
| OKLab | oklab(62% -0.0157 -0.1566) |
| OKLCH | oklch(62% 0.157 264.3) |
| XYZ | xyz(25.5953, 23.2309, 76.5189) |
| Luminance | 0.2323 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.91
Dodger Blue
#3E82FC
ΔE00 2.94
Lightish Blue
#3D7AFD
ΔE00 3.39
Clear Blue
#247AFD
ΔE00 4.05
Azure
#007FFF
ΔE00 4.74
Deep Sky Blue
#0D75F8
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5581E4 #E4B855
analogous
#55C9E4 #5581E4 #7155E4
triadic
#5581E4 #E45581 #81E455
tetradic
#5581E4 #E455C9 #E4B855 #55E471
square
#5581E4 #E455C9 #E4B855 #55E471
split-complementary
#5581E4 #E47155 #C9E455
monochromatic
#1A45A4 #235BD9 #5581E4 #8AA8EC #BFCFF5
Accessibility & contrast
On white
3.72
#5581E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#5581E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5581E4
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5581E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5581E4 | 1.00 | 3.72 | 5.65 | 5.65 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#538BE8
Deuteranopia (green-blind)
#3C7EE2
Tritanopia (blue-blind)
#0098A7
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5581e4; /* rgb */ color: rgb(85, 129, 228); /* oklch */ color: oklch(62.0% 0.157 264.3);
Tailwind
colors: {
custom: {
50: '#91a5ed',
500: '#5581e4',
950: '#000000',
},
}SCSS
$custom: #5581e4; $custom-light: #91a5ed; $custom-dark: #000000;
JSON
{
"hex": "#5581e4",
"rgb": {
"r": 85,
"g": 129,
"b": 228
},
"hsl": {
"h": 221.538,
"s": 72.589,
"l": 61.373
},
"oklch": {
"l": 0.61999,
"c": 0.15734,
"h": 264.3
},
"luminance": 0.23233
}Semantic roles & 50–950 ramp
primary
#5581E4
secondary
#E5D5B0
accent
#9811D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84