#5A64CC#5A64CC
#5A64CC is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.9% C 0.159 H 275.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5A64CC |
|---|---|
| RGB | rgb(90, 100, 204) |
| HSL | hsl(235, 53%, 58%) |
| HSV | hsv(235, 56%, 80%) |
| CMYK | cmyk(55.9%, 51%, 0%, 20%) |
| CIE-LAB | lab(46.51, 26.32, -55.37) |
| CIE-LCH | lch(46.51, 61.31, 295.42°) |
| OKLab | oklab(54.91% 0.0158 -0.1583) |
| OKLCH | oklch(54.91% 0.159 275.7) |
| XYZ | xyz(19.6692, 15.6463, 59.0986) |
| Luminance | 0.1565 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.16
Warm Blue
#4B57DB
ΔE00 4.66
Iris
#6258C4
ΔE00 4.71
Royal Blue
#4169E1
ΔE00 4.80
Slate Blue
#6A5ACD
ΔE00 4.88
Cornflower Blue
#5170D7
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A64CC #CCC25A
analogous
#5A9DCC #5A64CC #895ACC
triadic
#5A64CC #CC5A64 #64CC5A
tetradic
#5A64CC #CC5A9D #CCC25A #5ACC89
square
#5A64CC #CC5A9D #CCC25A #5ACC89
split-complementary
#5A64CC #CC895A #9DCC5A
monochromatic
#293083 #3742B2 #5A64CC #8990DA #B7BCE9
Accessibility & contrast
On white
5.09
#5A64CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#5A64CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A64CC
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A64CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A64CC | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D73D0
Deuteranopia (green-blind)
#196ACA
Tritanopia (blue-blind)
#1A7B8E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5a64cc; /* rgb */ color: rgb(90, 100, 204); /* oklch */ color: oklch(54.9% 0.159 275.7);
Tailwind
colors: {
custom: {
50: '#9190dc',
500: '#5a64cc',
950: '#000000',
},
}SCSS
$custom: #5a64cc; $custom-light: #9190dc; $custom-dark: #000000;
JSON
{
"hex": "#5a64cc",
"rgb": {
"r": 90,
"g": 100,
"b": 204
},
"hsl": {
"h": 234.737,
"s": 52.778,
"l": 57.647
},
"oklch": {
"l": 0.54905,
"c": 0.15906,
"h": 275.7
},
"luminance": 0.15648
}Semantic roles & 50–950 ramp
primary
#5A64CC
secondary
#D8D4AA
accent
#D04CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83