#5B5CDC#5B5CDC
#5B5CDC is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.7% C 0.191 H 277.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5CDC |
|---|---|
| RGB | rgb(91, 92, 220) |
| HSL | hsl(240, 65%, 61%) |
| HSV | hsv(240, 59%, 86%) |
| CMYK | cmyk(58.6%, 58.2%, 0%, 13.7%) |
| CIE-LAB | lab(45.69, 36.61, -65.82) |
| CIE-LCH | lch(45.69, 75.32, 299.08°) |
| OKLab | oklab(54.66% 0.0255 -0.1891) |
| OKLCH | oklch(54.66% 0.191 277.7) |
| XYZ | xyz(21.0557, 15.0442, 69.4905) |
| Luminance | 0.1505 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.38
Warm Blue
#4B57DB
ΔE00 2.54
Slate Blue
#6A5ACD
ΔE00 3.43
Light Indigo
#6D5ACF
ΔE00 3.70
Iris
#6258C4
ΔE00 3.88
Azul
#1D5DEC
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5CDC #DCDB5B
analogous
#5B9CDC #5B5CDC #9A5BDC
triadic
#5B5CDC #DC5B5C #5CDC5B
tetradic
#5B5CDC #DC5B9C #DCDB5B #5BDC9A
square
#5B5CDC #DC5B9C #DCDB5B #5BDC9A
split-complementary
#5B5CDC #DC9A5B #9CDC5B
monochromatic
#21229B #2C2DCE #5B5CDC #8D8EE7 #C0C0F2
Accessibility & contrast
On white
5.24
#5B5CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#5B5CDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5CDC
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5CDC | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#007B93
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5b5cdc; /* rgb */ color: rgb(91, 92, 220); /* oklch */ color: oklch(54.7% 0.191 277.7);
Tailwind
colors: {
custom: {
50: '#958ae8',
500: '#5b5cdc',
950: '#000000',
},
}SCSS
$custom: #5b5cdc; $custom-light: #958ae8; $custom-dark: #000000;
JSON
{
"hex": "#5b5cdc",
"rgb": {
"r": 91,
"g": 92,
"b": 220
},
"hsl": {
"h": 239.535,
"s": 64.824,
"l": 60.98
},
"oklch": {
"l": 0.54663,
"c": 0.19078,
"h": 277.7
},
"luminance": 0.15046
}Semantic roles & 50–950 ramp
primary
#5B5CDC
secondary
#E2E1B1
accent
#CB19CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84