#5B5BDC#5B5BDC
#5B5BDC is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.5% C 0.192 H 277.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5BDC |
|---|---|
| RGB | rgb(91, 91, 220) |
| HSL | hsl(240, 65%, 61%) |
| HSV | hsv(240, 59%, 86%) |
| CMYK | cmyk(58.6%, 58.6%, 0%, 13.7%) |
| CIE-LAB | lab(45.46, 37.22, -66.21) |
| CIE-LCH | lch(45.46, 75.95, 299.34°) |
| OKLab | oklab(54.49% 0.0265 -0.1902) |
| OKLCH | oklch(54.49% 0.192 277.9) |
| XYZ | xyz(20.9696, 14.8721, 69.4619) |
| Luminance | 0.1487 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.41
Dark Periwinkle
#665FD1
ΔE00 2.47
Slate Blue
#6A5ACD
ΔE00 3.33
Light Indigo
#6D5ACF
ΔE00 3.61
Iris
#6258C4
ΔE00 3.76
Azul
#1D5DEC
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5BDC #DCDC5B
analogous
#5B9BDC #5B5BDC #9B5BDC
triadic
#5B5BDC #DC5B5B #5BDC5B
tetradic
#5B5BDC #DC5B9B #DCDC5B #5BDC9B
square
#5B5BDC #DC5B9B #DCDC5B #5BDC9B
split-complementary
#5B5BDC #DC9B5B #9BDC5B
monochromatic
#21219B #2C2CCE #5B5BDC #8D8DE7 #C0C0F2
Accessibility & contrast
On white
5.28
#5B5BDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#5B5BDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5BDC
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5BDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5BDC | 1.00 | 5.28 | 3.97 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#007A93
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5b5bdc; /* rgb */ color: rgb(91, 91, 220); /* oklch */ color: oklch(54.5% 0.192 277.9);
Tailwind
colors: {
custom: {
50: '#9589e8',
500: '#5b5bdc',
950: '#000000',
},
}SCSS
$custom: #5b5bdc; $custom-light: #9589e8; $custom-dark: #000000;
JSON
{
"hex": "#5b5bdc",
"rgb": {
"r": 91,
"g": 91,
"b": 220
},
"hsl": {
"h": 240,
"s": 64.824,
"l": 60.98
},
"oklch": {
"l": 0.54488,
"c": 0.19203,
"h": 277.9
},
"luminance": 0.14874
}Semantic roles & 50–950 ramp
primary
#5B5BDC
secondary
#E2E2B1
accent
#CD19CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84