#5A64BB#5A64BB
#5A64BB is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.8% C 0.135 H 275.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #5A64BB |
|---|---|
| RGB | rgb(90, 100, 187) |
| HSL | hsl(234, 42%, 54%) |
| HSV | hsv(234, 52%, 73%) |
| CMYK | cmyk(51.9%, 46.5%, 0%, 26.7%) |
| CIE-LAB | lab(45.46, 20.82, -47.23) |
| CIE-LCH | lch(45.46, 51.62, 293.79°) |
| OKLab | oklab(53.78% 0.014 -0.1343) |
| OKLCH | oklch(53.78% 0.135 275.9) |
| XYZ | xyz(17.7404, 14.8748, 48.9404) |
| Luminance | 0.1488 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.64
Iris
#6258C4
ΔE00 5.00
Slate Blue
#6A5ACD
ΔE00 5.80
Warm Blue
#4B57DB
ΔE00 6.20
Cornflower Blue
#5170D7
ΔE00 6.21
Light Indigo
#6D5ACF
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A64BB #BBB15A
analogous
#5A95BB #5A64BB #815ABB
triadic
#5A64BB #BB5A64 #64BB5A
tetradic
#5A64BB #BB5A95 #BBB15A #5ABB81
square
#5A64BB #BB5A95 #BBB15A #5ABB81
split-complementary
#5A64BB #BB815A #95BB5A
monochromatic
#2D346D #3F4899 #5A64BB #858DCD #B1B5DF
Accessibility & contrast
On white
5.28
#5A64BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#5A64BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A64BB
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A64BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A64BB | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E70BE
Deuteranopia (green-blind)
#3468B9
Tritanopia (blue-blind)
#307786
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5a64bb; /* rgb */ color: rgb(90, 100, 187); /* oklch */ color: oklch(53.8% 0.135 275.9);
Tailwind
colors: {
custom: {
50: '#8f90d0',
500: '#5a64bb',
950: '#000000',
},
}SCSS
$custom: #5a64bb; $custom-light: #8f90d0; $custom-dark: #000000;
JSON
{
"hex": "#5a64bb",
"rgb": {
"r": 90,
"g": 100,
"b": 187
},
"hsl": {
"h": 233.814,
"s": 41.631,
"l": 54.314
},
"oklch": {
"l": 0.53779,
"c": 0.13508,
"h": 275.9
},
"luminance": 0.14876
}Semantic roles & 50–950 ramp
primary
#5A64BB
secondary
#CDC9A4
accent
#C556D1
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82