#5A64C8#5A64C8
#5A64C8 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.6% C 0.153 H 275.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5A64C8 |
|---|---|
| RGB | rgb(90, 100, 200) |
| HSL | hsl(235, 50%, 57%) |
| HSV | hsv(235, 55%, 78%) |
| CMYK | cmyk(55%, 50%, 0%, 21.6%) |
| CIE-LAB | lab(46.25, 25.02, -53.48) |
| CIE-LCH | lch(46.25, 59.04, 295.07°) |
| OKLab | oklab(54.63% 0.0155 -0.1527) |
| OKLCH | oklch(54.63% 0.153 275.8) |
| XYZ | xyz(19.1956, 15.4568, 56.6043) |
| Luminance | 0.1546 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.39
Iris
#6258C4
ΔE00 4.65
Warm Blue
#4B57DB
ΔE00 4.94
Slate Blue
#6A5ACD
ΔE00 4.99
Royal Blue
#4169E1
ΔE00 5.10
Cornflower Blue
#5170D7
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A64C8 #C8BE5A
analogous
#5A9BC8 #5A64C8 #875AC8
triadic
#5A64C8 #C85A64 #64C85A
tetradic
#5A64C8 #C85A9B #C8BE5A #5AC887
square
#5A64C8 #C85A9B #C8BE5A #5AC887
split-complementary
#5A64C8 #C8875A #9BC85A
monochromatic
#2A327E #3944AC #5A64C8 #888FD7 #B6BAE7
Accessibility & contrast
On white
5.13
#5A64C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#5A64C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A64C8
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A64C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A64C8 | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3272CC
Deuteranopia (green-blind)
#2169C6
Tritanopia (blue-blind)
#217A8C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5a64c8; /* rgb */ color: rgb(90, 100, 200); /* oklch */ color: oklch(54.6% 0.153 275.8);
Tailwind
colors: {
custom: {
50: '#9190d9',
500: '#5a64c8',
950: '#000000',
},
}SCSS
$custom: #5a64c8; $custom-light: #9190d9; $custom-dark: #000000;
JSON
{
"hex": "#5a64c8",
"rgb": {
"r": 90,
"g": 100,
"b": 200
},
"hsl": {
"h": 234.545,
"s": 50,
"l": 56.863
},
"oklch": {
"l": 0.54633,
"c": 0.15349,
"h": 275.8
},
"luminance": 0.15458
}Semantic roles & 50–950 ramp
primary
#5A64C8
secondary
#D5D1A8
accent
#CD4EDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83