#5381E4#5381E4
#5381E4 is a mid, vivid blue. Relative luminance 0.231; OKLCH L 61.9% C 0.158 H 263.7°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #5381E4 |
|---|---|
| RGB | rgb(83, 129, 228) |
| HSL | hsl(221, 73%, 61%) |
| HSV | hsv(221, 64%, 89%) |
| CMYK | cmyk(63.6%, 43.4%, 0%, 10.6%) |
| CIE-LAB | lab(55.21, 15.17, -55.02) |
| CIE-LCH | lch(55.21, 57.08, 285.41°) |
| OKLab | oklab(61.9% -0.0174 -0.157) |
| OKLCH | oklch(61.9% 0.158 263.7) |
| XYZ | xyz(25.4162, 23.1386, 76.5105) |
| Luminance | 0.2314 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.77
Soft Blue
#6488EA
ΔE00 3.11
Lightish Blue
#3D7AFD
ΔE00 3.34
Clear Blue
#247AFD
ΔE00 3.86
Azure
#007FFF
ΔE00 4.46
Deep Sky Blue
#0D75F8
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5381E4 #E4B653
analogous
#53C9E4 #5381E4 #6D53E4
triadic
#5381E4 #E45381 #81E453
tetradic
#5381E4 #E453C9 #E4B653 #53E46D
square
#5381E4 #E453C9 #E4B653 #53E46D
split-complementary
#5381E4 #E46D53 #C9E453
monochromatic
#1A45A3 #225CD8 #5381E4 #88A8EC #BDCEF5
Accessibility & contrast
On white
3.73
#5381E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#5381E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5381E4
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5381E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5381E4 | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#528BE8
Deuteranopia (green-blind)
#3B7EE2
Tritanopia (blue-blind)
#0098A7
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5381e4; /* rgb */ color: rgb(83, 129, 228); /* oklch */ color: oklch(61.9% 0.158 263.7);
Tailwind
colors: {
custom: {
50: '#91a5ed',
500: '#5381e4',
950: '#000000',
},
}SCSS
$custom: #5381e4; $custom-light: #91a5ed; $custom-dark: #000000;
JSON
{
"hex": "#5381e4",
"rgb": {
"r": 83,
"g": 129,
"b": 228
},
"hsl": {
"h": 220.966,
"s": 72.864,
"l": 60.98
},
"oklch": {
"l": 0.619,
"c": 0.15801,
"h": 263.7
},
"luminance": 0.23141
}Semantic roles & 50–950 ramp
primary
#5381E4
secondary
#E5D3AE
accent
#9711D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84