#5481F2#5481F2
#5481F2 is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.8% C 0.176 H 265.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #5481F2 |
|---|---|
| RGB | rgb(84, 129, 242) |
| HSL | hsl(223, 86%, 64%) |
| HSV | hsv(223, 65%, 95%) |
| CMYK | cmyk(65.3%, 46.7%, 0%, 5.1%) |
| CIE-LAB | lab(56.08, 20.12, -61.43) |
| CIE-LCH | lch(56.08, 64.64, 288.13°) |
| OKLab | oklab(62.84% -0.0144 -0.1759) |
| OKLCH | oklch(62.84% 0.176 265.3) |
| XYZ | xyz(27.5279, 23.9935, 87.1677) |
| Luminance | 0.2400 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.38
Soft Blue
#6488EA
ΔE00 2.67
Lightish Blue
#3D7AFD
ΔE00 2.72
Clear Blue
#247AFD
ΔE00 3.85
Azure
#007FFF
ΔE00 4.74
Cornflower
#6A79F7
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5481F2 #F2C554
analogous
#54D0F2 #5481F2 #7654F2
triadic
#5481F2 #F25481 #81F254
tetradic
#5481F2 #F254D0 #F2C554 #54F276
square
#5481F2 #F254D0 #F2C554 #54F276
split-complementary
#5481F2 #F27654 #D0F254
monochromatic
#0E40BD #1B57EE #5481F2 #8DABF6 #C6D5FB
Accessibility & contrast
On white
3.62
#5481F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#5481F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5481F2
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5481F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5481F2 | 1.00 | 3.62 | 5.80 | 5.80 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#478EF6
Deuteranopia (green-blind)
#2680F0
Tritanopia (blue-blind)
#009BAE
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5481f2; /* rgb */ color: rgb(84, 129, 242); /* oklch */ color: oklch(62.8% 0.176 265.3);
Tailwind
colors: {
custom: {
50: '#93a5f7',
500: '#5481f2',
950: '#000000',
},
}SCSS
$custom: #5481f2; $custom-light: #93a5f7; $custom-dark: #000000;
JSON
{
"hex": "#5481f2",
"rgb": {
"r": 84,
"g": 129,
"b": 242
},
"hsl": {
"h": 222.911,
"s": 85.87,
"l": 63.922
},
"oklch": {
"l": 0.62842,
"c": 0.17645,
"h": 265.3
},
"luminance": 0.23996
}Semantic roles & 50–950 ramp
primary
#5481F2
secondary
#EDDDB5
accent
#A303E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85