#5481E2#5481E2
#5481E2 is a mid, vivid blue. Relative luminance 0.231; OKLCH L 61.8% C 0.155 H 263.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5481E2 |
|---|---|
| RGB | rgb(84, 129, 226) |
| HSL | hsl(221, 71%, 61%) |
| HSV | hsv(221, 63%, 89%) |
| CMYK | cmyk(62.8%, 42.9%, 0%, 11.4%) |
| CIE-LAB | lab(55.15, 14.66, -54.01) |
| CIE-LCH | lch(55.15, 55.96, 285.19°) |
| OKLab | oklab(61.83% -0.0169 -0.154) |
| OKLCH | oklch(61.83% 0.155 263.7) |
| XYZ | xyz(25.2291, 23.0740, 75.0609) |
| Luminance | 0.2308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.98
Soft Blue
#6488EA
ΔE00 3.12
Lightish Blue
#3D7AFD
ΔE00 3.50
Clear Blue
#247AFD
ΔE00 4.01
Azure
#007FFF
ΔE00 4.62
Deep Sky Blue
#0D75F8
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5481E2 #E2B554
analogous
#54C8E2 #5481E2 #6E54E2
triadic
#5481E2 #E25481 #81E254
tetradic
#5481E2 #E254C8 #E2B554 #54E26E
square
#5481E2 #E254C8 #E2B554 #54E26E
split-complementary
#5481E2 #E26E54 #C8E254
monochromatic
#1B45A0 #245CD5 #5481E2 #88A8EB #BDCEF4
Accessibility & contrast
On white
3.74
#5481E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#5481E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5481E2
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5481E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5481E2 | 1.00 | 3.74 | 5.62 | 5.62 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#548BE6
Deuteranopia (green-blind)
#3E7EE0
Tritanopia (blue-blind)
#0097A6
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5481e2; /* rgb */ color: rgb(84, 129, 226); /* oklch */ color: oklch(61.8% 0.155 263.7);
Tailwind
colors: {
custom: {
50: '#91a5eb',
500: '#5481e2',
950: '#000000',
},
}SCSS
$custom: #5481e2; $custom-light: #91a5eb; $custom-dark: #000000;
JSON
{
"hex": "#5481e2",
"rgb": {
"r": 84,
"g": 129,
"b": 226
},
"hsl": {
"h": 220.986,
"s": 71,
"l": 60.784
},
"oklch": {
"l": 0.61825,
"c": 0.15497,
"h": 263.7
},
"luminance": 0.23076
}Semantic roles & 50–950 ramp
primary
#5481E2
secondary
#E4D3AE
accent
#9612D3
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84