#5B5CD5#5B5CD5
#5B5CD5 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.1% C 0.182 H 278.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5CD5 |
|---|---|
| RGB | rgb(91, 92, 213) |
| HSL | hsl(240, 59%, 60%) |
| HSV | hsv(240, 57%, 84%) |
| CMYK | cmyk(57.3%, 56.8%, 0%, 16.5%) |
| CIE-LAB | lab(45.19, 34.36, -62.64) |
| CIE-LCH | lch(45.19, 71.45, 298.74°) |
| OKLab | oklab(54.13% 0.0256 -0.1797) |
| OKLCH | oklch(54.13% 0.182 278.1) |
| XYZ | xyz(20.1479, 14.6811, 64.7099) |
| Luminance | 0.1468 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.03
Warm Blue
#4B57DB
ΔE00 2.53
Slate Blue
#6A5ACD
ΔE00 3.04
Iris
#6258C4
ΔE00 3.11
Light Indigo
#6D5ACF
ΔE00 3.44
Azul
#1D5DEC
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5CD5 #D5D45B
analogous
#5B99D5 #5B5CD5 #975BD5
triadic
#5B5CD5 #D55B5C #5CD55B
tetradic
#5B5CD5 #D55B99 #D5D45B #5BD597
square
#5B5CD5 #D55B99 #D5D45B #5BD597
split-complementary
#5B5CD5 #D5975B #99D55B
monochromatic
#252691 #3233C1 #5B5CD5 #8C8CE1 #BCBDEE
Accessibility & contrast
On white
5.33
#5B5CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#5B5CD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5CD5
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5CD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5CD5 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#0066D3
Tritanopia (blue-blind)
#0D798F
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5b5cd5; /* rgb */ color: rgb(91, 92, 213); /* oklch */ color: oklch(54.1% 0.182 278.1);
Tailwind
colors: {
custom: {
50: '#948ae3',
500: '#5b5cd5',
950: '#000000',
},
}SCSS
$custom: #5b5cd5; $custom-light: #948ae3; $custom-dark: #000000;
JSON
{
"hex": "#5b5cd5",
"rgb": {
"r": 91,
"g": 92,
"b": 213
},
"hsl": {
"h": 239.508,
"s": 59.223,
"l": 59.608
},
"oklch": {
"l": 0.54134,
"c": 0.18152,
"h": 278.1
},
"luminance": 0.14683
}Semantic roles & 50–950 ramp
primary
#5B5CD5
secondary
#DEDDAE
accent
#E145E2
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B15
muted
#7E7C84