#5381F2#5381F2
#5381F2 is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.8% C 0.177 H 265.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5381F2 |
|---|---|
| RGB | rgb(83, 129, 242) |
| HSL | hsl(223, 86%, 64%) |
| HSV | hsv(223, 66%, 95%) |
| CMYK | cmyk(65.7%, 46.7%, 0%, 5.1%) |
| CIE-LAB | lab(56.04, 19.96, -61.51) |
| CIE-LCH | lch(56.04, 64.66, 287.98°) |
| OKLab | oklab(62.79% -0.0152 -0.1761) |
| OKLCH | oklch(62.79% 0.177 265.1) |
| XYZ | xyz(27.4390, 23.9477, 87.1635) |
| Luminance | 0.2395 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dodger Blue
#3E82FC
ΔE00 2.26
Lightish Blue
#3D7AFD
ΔE00 2.66
Soft Blue
#6488EA
ΔE00 2.74
Clear Blue
#247AFD
ΔE00 3.74
Azure
#007FFF
ΔE00 4.61
Cornflower
#6A79F7
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5381F2 #F2C453
analogous
#53D0F2 #5381F2 #7453F2
triadic
#5381F2 #F25381 #81F253
tetradic
#5381F2 #F253D0 #F2C453 #53F274
square
#5381F2 #F253D0 #F2C453 #53F274
split-complementary
#5381F2 #F27453 #D0F253
monochromatic
#0E41BC #1A57EE #5381F2 #8CABF6 #C5D4FB
Accessibility & contrast
On white
3.63
#5381F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#5381F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5381F2
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5381F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5381F2 | 1.00 | 3.63 | 5.79 | 5.79 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#478EF6
Deuteranopia (green-blind)
#257FF0
Tritanopia (blue-blind)
#009BAE
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5381f2; /* rgb */ color: rgb(83, 129, 242); /* oklch */ color: oklch(62.8% 0.177 265.1);
Tailwind
colors: {
custom: {
50: '#93a5f7',
500: '#5381f2',
950: '#000000',
},
}SCSS
$custom: #5381f2; $custom-light: #93a5f7; $custom-dark: #000000;
JSON
{
"hex": "#5381f2",
"rgb": {
"r": 83,
"g": 129,
"b": 242
},
"hsl": {
"h": 222.642,
"s": 85.946,
"l": 63.725
},
"oklch": {
"l": 0.62794,
"c": 0.17677,
"h": 265.1
},
"luminance": 0.2395
}Semantic roles & 50–950 ramp
primary
#5381F2
secondary
#ECDCB4
accent
#A203E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85