#5A64EA#5A64EA
#5A64EA is a mid, vivid blue. Relative luminance 0.172; OKLCH L 57.1% C 0.199 H 274.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #5A64EA |
|---|---|
| RGB | rgb(90, 100, 234) |
| HSL | hsl(236, 77%, 64%) |
| HSV | hsv(236, 62%, 92%) |
| CMYK | cmyk(61.5%, 57.3%, 0%, 8.2%) |
| CIE-LAB | lab(48.54, 36.14, -69.12) |
| CIE-LCH | lch(48.54, 78.00, 297.61°) |
| OKLab | oklab(57.08% 0.0171 -0.1987) |
| OKLCH | oklch(57.08% 0.199 274.9) |
| XYZ | xyz(23.6200, 17.2266, 79.9063) |
| Luminance | 0.1723 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.28
Royal Blue
#4169E1
ΔE00 4.53
Warm Blue
#4B57DB
ΔE00 4.96
Cornflower Blue
#5170D7
ΔE00 5.45
Mediumslateblue
#7B68EE
ΔE00 5.45
Azul
#1D5DEC
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A64EA #EAE05A
analogous
#5AACEA #5A64EA #985AEA
triadic
#5A64EA #EA5A64 #64EA5A
tetradic
#5A64EA #EA5AAC #EAE05A #5AEA98
square
#5A64EA #EA5AAC #EAE05A #5AEA98
split-complementary
#5A64EA #EA985A #ACEA5A
monochromatic
#1722B3 #2431E3 #5A64EA #9097F1 #C7CAF8
Accessibility & contrast
On white
4.72
#5A64EA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#5A64EA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A64EA
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A64EA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A64EA | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#006DE7
Tritanopia (blue-blind)
#00849D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5a64ea; /* rgb */ color: rgb(90, 100, 234); /* oklch */ color: oklch(57.1% 0.199 274.9);
Tailwind
colors: {
custom: {
50: '#9690f2',
500: '#5a64ea',
950: '#000000',
},
}SCSS
$custom: #5a64ea; $custom-light: #9690f2; $custom-dark: #000000;
JSON
{
"hex": "#5a64ea",
"rgb": {
"r": 90,
"g": 100,
"b": 234
},
"hsl": {
"h": 235.833,
"s": 77.419,
"l": 63.529
},
"oklch": {
"l": 0.57076,
"c": 0.19944,
"h": 274.9
},
"luminance": 0.17229
}Semantic roles & 50–950 ramp
primary
#5A64EA
secondary
#E9E6B6
accent
#CB0CDA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85