#5381E5#5381E5
#5381E5 is a mid, vivid blue. Relative luminance 0.232; OKLCH L 62.0% C 0.159 H 263.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #5381E5 |
|---|---|
| RGB | rgb(83, 129, 229) |
| HSL | hsl(221, 74%, 61%) |
| HSV | hsv(221, 64%, 90%) |
| CMYK | cmyk(63.8%, 43.7%, 0%, 10.2%) |
| CIE-LAB | lab(55.27, 15.51, -55.49) |
| CIE-LCH | lch(55.27, 57.62, 285.61°) |
| OKLab | oklab(61.96% -0.0172 -0.1584) |
| OKLCH | oklch(61.96% 0.159 263.8) |
| XYZ | xyz(25.5555, 23.1943, 77.2437) |
| Luminance | 0.2320 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.70
Soft Blue
#6488EA
ΔE00 3.05
Lightish Blue
#3D7AFD
ΔE00 3.27
Clear Blue
#247AFD
ΔE00 3.83
Azure
#007FFF
ΔE00 4.46
Deep Sky Blue
#0D75F8
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5381E5 #E5B753
analogous
#53CAE5 #5381E5 #6E53E5
triadic
#5381E5 #E55381 #81E553
tetradic
#5381E5 #E553CA #E5B753 #53E56E
square
#5381E5 #E553CA #E5B753 #53E56E
split-complementary
#5381E5 #E56E53 #CAE553
monochromatic
#1945A5 #215BDA #5381E5 #88A8ED #BDCFF5
Accessibility & contrast
On white
3.72
#5381E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#5381E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5381E5
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5381E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5381E5 | 1.00 | 3.72 | 5.64 | 5.64 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#528CE9
Deuteranopia (green-blind)
#3A7EE3
Tritanopia (blue-blind)
#0098A8
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5381e5; /* rgb */ color: rgb(83, 129, 229); /* oklch */ color: oklch(62.0% 0.159 263.8);
Tailwind
colors: {
custom: {
50: '#91a5ee',
500: '#5381e5',
950: '#000000',
},
}SCSS
$custom: #5381e5; $custom-light: #91a5ee; $custom-dark: #000000;
JSON
{
"hex": "#5381e5",
"rgb": {
"r": 83,
"g": 129,
"b": 229
},
"hsl": {
"h": 221.096,
"s": 73.737,
"l": 61.176
},
"oklch": {
"l": 0.61963,
"c": 0.15937,
"h": 263.8
},
"luminance": 0.23197
}Semantic roles & 50–950 ramp
primary
#5381E5
secondary
#E5D4AE
accent
#9710D6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84