#5B64BB#5B64BB
#5B64BB is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.8% C 0.135 H 276.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5B64BB |
|---|---|
| RGB | rgb(91, 100, 187) |
| HSL | hsl(234, 41%, 55%) |
| HSV | hsv(234, 51%, 73%) |
| CMYK | cmyk(51.3%, 46.5%, 0%, 26.7%) |
| CIE-LAB | lab(45.53, 21.05, -47.12) |
| CIE-LCH | lch(45.53, 51.61, 294.07°) |
| OKLab | oklab(53.85% 0.0151 -0.134) |
| OKLCH | oklch(53.85% 0.135 276.4) |
| XYZ | xyz(17.8384, 14.9253, 48.9450) |
| Luminance | 0.1493 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.53
Iris
#6258C4
ΔE00 4.89
Slate Blue
#6A5ACD
ΔE00 5.67
Light Indigo
#6D5ACF
ΔE00 6.15
Warm Blue
#4B57DB
ΔE00 6.25
Cornflower Blue
#5170D7
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B64BB #BBB25B
analogous
#5B94BB #5B64BB #825BBB
triadic
#5B64BB #BB5B64 #64BB5B
tetradic
#5B64BB #BB5B94 #BBB25B #5BBB82
square
#5B64BB #BB5B94 #BBB25B #5BBB82
split-complementary
#5B64BB #BB825B #94BB5B
monochromatic
#2E346E #404899 #5B64BB #868DCD #B2B6DF
Accessibility & contrast
On white
5.27
#5B64BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#5B64BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B64BB
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B64BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B64BB | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E70BE
Deuteranopia (green-blind)
#3468B9
Tritanopia (blue-blind)
#337786
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5b64bb; /* rgb */ color: rgb(91, 100, 187); /* oklch */ color: oklch(53.8% 0.135 276.4);
Tailwind
colors: {
custom: {
50: '#9090d0',
500: '#5b64bb',
950: '#000000',
},
}SCSS
$custom: #5b64bb; $custom-light: #9090d0; $custom-dark: #000000;
JSON
{
"hex": "#5b64bb",
"rgb": {
"r": 91,
"g": 100,
"b": 187
},
"hsl": {
"h": 234.375,
"s": 41.379,
"l": 54.51
},
"oklch": {
"l": 0.53849,
"c": 0.13484,
"h": 276.4
},
"luminance": 0.14926
}Semantic roles & 50–950 ramp
primary
#5B64BB
secondary
#CDC9A5
accent
#C657D1
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82