#5B64CD#5B64CD
#5B64CD is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.0% C 0.160 H 276.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5B64CD |
|---|---|
| RGB | rgb(91, 100, 205) |
| HSL | hsl(235, 53%, 58%) |
| HSV | hsv(235, 56%, 80%) |
| CMYK | cmyk(55.6%, 51.2%, 0%, 19.6%) |
| CIE-LAB | lab(46.64, 26.84, -55.73) |
| CIE-LCH | lch(46.64, 61.86, 295.72°) |
| OKLab | oklab(55.04% 0.017 -0.1593) |
| OKLCH | oklch(55.04% 0.16 276.1) |
| XYZ | xyz(19.8875, 15.7449, 59.7369) |
| Luminance | 0.1575 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.96
Iris
#6258C4
ΔE00 4.64
Warm Blue
#4B57DB
ΔE00 4.65
Slate Blue
#6A5ACD
ΔE00 4.72
Royal Blue
#4169E1
ΔE00 4.87
Light Indigo
#6D5ACF
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B64CD #CDC45B
analogous
#5B9DCD #5B64CD #8B5BCD
triadic
#5B64CD #CD5B64 #64CD5B
tetradic
#5B64CD #CD5B9D #CDC45B #5BCD8B
square
#5B64CD #CD5B9D #CDC45B #5BCD8B
split-complementary
#5B64CD #CD8B5B #9DCD5B
monochromatic
#293085 #3741B4 #5B64CD #8A90DB #B9BDEA
Accessibility & contrast
On white
5.06
#5B64CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#5B64CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B64CD
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B64CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B64CD | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C73D1
Deuteranopia (green-blind)
#186ACB
Tritanopia (blue-blind)
#1D7C8F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5b64cd; /* rgb */ color: rgb(91, 100, 205); /* oklch */ color: oklch(55.0% 0.160 276.1);
Tailwind
colors: {
custom: {
50: '#9290dd',
500: '#5b64cd',
950: '#000000',
},
}SCSS
$custom: #5b64cd; $custom-light: #9290dd; $custom-dark: #000000;
JSON
{
"hex": "#5b64cd",
"rgb": {
"r": 91,
"g": 100,
"b": 205
},
"hsl": {
"h": 235.263,
"s": 53.271,
"l": 58.039
},
"oklch": {
"l": 0.55042,
"c": 0.16021,
"h": 276.1
},
"luminance": 0.15746
}Semantic roles & 50–950 ramp
primary
#5B64CD
secondary
#D9D5AB
accent
#D14BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83