#5D64C4#5D64C4
#5D64C4 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.6% C 0.147 H 277.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #5D64C4 |
|---|---|
| RGB | rgb(93, 100, 196) |
| HSL | hsl(236, 47%, 57%) |
| HSV | hsv(236, 53%, 77%) |
| CMYK | cmyk(52.6%, 49%, 0%, 23.1%) |
| CIE-LAB | lab(46.21, 24.36, -51.23) |
| CIE-LCH | lch(46.21, 56.73, 295.43°) |
| OKLab | oklab(54.58% 0.0185 -0.146) |
| OKLCH | oklch(54.58% 0.147 277.2) |
| XYZ | xyz(19.0320, 15.4258, 54.1885) |
| Luminance | 0.1543 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.31
Iris
#6258C4
ΔE00 4.36
Slate Blue
#6A5ACD
ΔE00 4.75
Light Indigo
#6D5ACF
ΔE00 5.20
Warm Blue
#4B57DB
ΔE00 5.41
Cornflower Blue
#5170D7
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D64C4 #C4BD5D
analogous
#5D98C4 #5D64C4 #8A5DC4
triadic
#5D64C4 #C45D64 #64C45D
tetradic
#5D64C4 #C45D98 #C4BD5D #5DC48A
square
#5D64C4 #C45D98 #C4BD5D #5DC48A
split-complementary
#5D64C4 #C48A5D #98C45D
monochromatic
#2C327A #3D44A7 #5D64C4 #8A8FD4 #B7BAE5
Accessibility & contrast
On white
5.14
#5D64C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#5D64C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D64C4
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D64C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D64C4 | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3772C7
Deuteranopia (green-blind)
#2B69C2
Tritanopia (blue-blind)
#2F798B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5d64c4; /* rgb */ color: rgb(93, 100, 196); /* oklch */ color: oklch(54.6% 0.147 277.2);
Tailwind
colors: {
custom: {
50: '#9290d6',
500: '#5d64c4',
950: '#000000',
},
}SCSS
$custom: #5d64c4; $custom-light: #9290d6; $custom-dark: #000000;
JSON
{
"hex": "#5d64c4",
"rgb": {
"r": 93,
"g": 100,
"b": 196
},
"hsl": {
"h": 235.922,
"s": 46.606,
"l": 56.667
},
"oklch": {
"l": 0.54575,
"c": 0.14718,
"h": 277.2
},
"luminance": 0.15427
}Semantic roles & 50–950 ramp
primary
#5D64C4
secondary
#D3D1A9
accent
#CD52D6
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83