#5D64D4#5D64D4
#5D64D4 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.7% C 0.169 H 276.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #5D64D4 |
|---|---|
| RGB | rgb(93, 100, 212) |
| HSL | hsl(236, 58%, 60%) |
| HSV | hsv(236, 56%, 83%) |
| CMYK | cmyk(56.1%, 52.8%, 0%, 16.9%) |
| CIE-LAB | lab(47.23, 29.51, -58.78) |
| CIE-LCH | lch(47.23, 65.77, 296.66°) |
| OKLab | oklab(55.66% 0.0198 -0.1682) |
| OKLCH | oklch(55.66% 0.169 276.7) |
| XYZ | xyz(20.9512, 16.1935, 64.2962) |
| Luminance | 0.1620 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.57
Slate Blue
#6A5ACD
ΔE00 4.49
Warm Blue
#4B57DB
ΔE00 4.49
Light Indigo
#6D5ACF
ΔE00 4.79
Royal Blue
#4169E1
ΔE00 4.80
Iris
#6258C4
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D64D4 #D4CD5D
analogous
#5D9FD4 #5D64D4 #925DD4
triadic
#5D64D4 #D45D64 #64D45D
tetradic
#5D64D4 #D45D9F #D4CD5D #5DD492
square
#5D64D4 #D45D9F #D4CD5D #5DD492
split-complementary
#5D64D4 #D4925D #9FD45D
monochromatic
#262D90 #333BC1 #5D64D4 #8D92E1 #BEC1EE
Accessibility & contrast
On white
4.95
#5D64D4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#5D64D4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D64D4
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D64D4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D64D4 | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2275D8
Deuteranopia (green-blind)
#006BD2
Tritanopia (blue-blind)
#197E92
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5d64d4; /* rgb */ color: rgb(93, 100, 212); /* oklch */ color: oklch(55.7% 0.169 276.7);
Tailwind
colors: {
custom: {
50: '#9490e2',
500: '#5d64d4',
950: '#000000',
},
}SCSS
$custom: #5d64d4; $custom-light: #9490e2; $custom-dark: #000000;
JSON
{
"hex": "#5d64d4",
"rgb": {
"r": 93,
"g": 100,
"b": 212
},
"hsl": {
"h": 236.471,
"s": 58.049,
"l": 59.804
},
"oklch": {
"l": 0.55664,
"c": 0.16938,
"h": 276.7
},
"luminance": 0.16195
}Semantic roles & 50–950 ramp
primary
#5D64D4
secondary
#DDDBAF
accent
#D847E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83