#5C64E1#5C64E1
#5C64E1 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.5% C 0.187 H 275.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5C64E1 |
|---|---|
| RGB | rgb(92, 100, 225) |
| HSL | hsl(236, 69%, 62%) |
| HSV | hsv(236, 59%, 88%) |
| CMYK | cmyk(59.1%, 55.6%, 0%, 11.8%) |
| CIE-LAB | lab(48.04, 33.54, -64.86) |
| CIE-LCH | lch(48.04, 73.02, 297.34°) |
| OKLab | oklab(56.53% 0.0192 -0.1861) |
| OKLCH | oklch(56.53% 0.187 275.9) |
| XYZ | xyz(22.5570, 16.8242, 73.2783) |
| Luminance | 0.1683 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.35
Royal Blue
#4169E1
ΔE00 4.51
Warm Blue
#4B57DB
ΔE00 4.57
Slate Blue
#6A5ACD
ΔE00 5.16
Cornflower Blue
#5170D7
ΔE00 5.23
Light Indigo
#6D5ACF
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C64E1 #E1D95C
analogous
#5CA7E1 #5C64E1 #975CE1
triadic
#5C64E1 #E15C64 #64E15C
tetradic
#5C64E1 #E15CA7 #E1D95C #5CE197
square
#5C64E1 #E15CA7 #E1D95C #5CE197
split-complementary
#5C64E1 #E1975C #A7E15C
monochromatic
#1E26A4 #2833D7 #5C64E1 #9095EB #C3C6F4
Accessibility & contrast
On white
4.81
#5C64E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#5C64E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C64E1
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C64E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C64E1 | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#006CDE
Tritanopia (blue-blind)
#008199
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5c64e1; /* rgb */ color: rgb(92, 100, 225); /* oklch */ color: oklch(56.5% 0.187 275.9);
Tailwind
colors: {
custom: {
50: '#9690eb',
500: '#5c64e1',
950: '#000000',
},
}SCSS
$custom: #5c64e1; $custom-light: #9690eb; $custom-dark: #000000;
JSON
{
"hex": "#5c64e1",
"rgb": {
"r": 92,
"g": 100,
"b": 225
},
"hsl": {
"h": 236.391,
"s": 68.912,
"l": 62.157
},
"oklch": {
"l": 0.56532,
"c": 0.18711,
"h": 275.9
},
"luminance": 0.16826
}Semantic roles & 50–950 ramp
primary
#5C64E1
secondary
#E5E2B4
accent
#C615D1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84