#5B5DCD#5B5DCD
#5B5DCD is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.7% C 0.169 H 278.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5DCD |
|---|---|
| RGB | rgb(91, 93, 205) |
| HSL | hsl(239, 53%, 58%) |
| HSV | hsv(239, 56%, 80%) |
| CMYK | cmyk(55.6%, 54.6%, 0%, 19.6%) |
| CIE-LAB | lab(44.88, 31.17, -58.56) |
| CIE-LCH | lch(44.88, 66.34, 298.03°) |
| OKLab | oklab(53.73% 0.0244 -0.1677) |
| OKLCH | oklch(53.73% 0.169 278.3) |
| XYZ | xyz(19.2447, 14.4593, 59.5226) |
| Luminance | 0.1446 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.05
Iris
#6258C4
ΔE00 2.61
Slate Blue
#6A5ACD
ΔE00 3.06
Warm Blue
#4B57DB
ΔE00 3.11
Light Indigo
#6D5ACF
ΔE00 3.58
Royal Blue
#4169E1
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5DCD #CDCB5B
analogous
#5B96CD #5B5DCD #925BCD
triadic
#5B5DCD #CD5B5D #5DCD5B
tetradic
#5B5DCD #CD5B96 #CDCB5B #5BCD92
square
#5B5DCD #CD5B96 #CDCB5B #5BCD92
split-complementary
#5B5DCD #CD925B #96CD5B
monochromatic
#292A85 #3739B4 #5B5DCD #8A8BDB #B9BAEA
Accessibility & contrast
On white
5.40
#5B5DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#5B5DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5DCD
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5DCD | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#126FD1
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#1F778C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5b5dcd; /* rgb */ color: rgb(91, 93, 205); /* oklch */ color: oklch(53.7% 0.169 278.3);
Tailwind
colors: {
custom: {
50: '#938bdd',
500: '#5b5dcd',
950: '#000000',
},
}SCSS
$custom: #5b5dcd; $custom-light: #938bdd; $custom-dark: #000000;
JSON
{
"hex": "#5b5dcd",
"rgb": {
"r": 91,
"g": 93,
"b": 205
},
"hsl": {
"h": 238.947,
"s": 53.271,
"l": 58.039
},
"oklch": {
"l": 0.53728,
"c": 0.16944,
"h": 278.3
},
"luminance": 0.14461
}Semantic roles & 50–950 ramp
primary
#5B5DCD
secondary
#D9D8AB
accent
#DA4BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83