#5B5BCD#5B5BCD
#5B5BCD is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.4% C 0.172 H 278.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5BCD |
|---|---|
| RGB | rgb(91, 91, 205) |
| HSL | hsl(240, 53%, 58%) |
| HSV | hsv(240, 56%, 80%) |
| CMYK | cmyk(55.6%, 55.6%, 0%, 19.6%) |
| CIE-LAB | lab(44.39, 32.40, -59.35) |
| CIE-LCH | lch(44.39, 67.62, 298.63°) |
| OKLab | oklab(53.36% 0.0265 -0.17) |
| OKLCH | oklch(53.36% 0.172 278.8) |
| XYZ | xyz(19.0714, 14.1128, 59.4649) |
| Luminance | 0.1411 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.19
Dark Periwinkle
#665FD1
ΔE00 2.22
Slate Blue
#6A5ACD
ΔE00 2.79
Warm Blue
#4B57DB
ΔE00 2.88
Light Indigo
#6D5ACF
ΔE00 3.34
Azul
#1D5DEC
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5BCD #CDCD5B
analogous
#5B94CD #5B5BCD #945BCD
triadic
#5B5BCD #CD5B5B #5BCD5B
tetradic
#5B5BCD #CD5B94 #CDCD5B #5BCD94
square
#5B5BCD #CD5B94 #CDCD5B #5BCD94
split-complementary
#5B5BCD #CD945B #94CD5B
monochromatic
#292985 #3737B4 #5B5BCD #8A8ADB #B9B9EA
Accessibility & contrast
On white
5.49
#5B5BCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#5B5BCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5BCD
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5BCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5BCD | 1.00 | 5.49 | 3.82 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#036ED1
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#20758B
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5b5bcd; /* rgb */ color: rgb(91, 91, 205); /* oklch */ color: oklch(53.4% 0.172 278.8);
Tailwind
colors: {
custom: {
50: '#9389dd',
500: '#5b5bcd',
950: '#000000',
},
}SCSS
$custom: #5b5bcd; $custom-light: #9389dd; $custom-dark: #000000;
JSON
{
"hex": "#5b5bcd",
"rgb": {
"r": 91,
"g": 91,
"b": 205
},
"hsl": {
"h": 240,
"s": 53.271,
"l": 58.039
},
"oklch": {
"l": 0.53362,
"c": 0.17207,
"h": 278.8
},
"luminance": 0.14114
}Semantic roles & 50–950 ramp
primary
#5B5BCD
secondary
#D9D9AB
accent
#DD4BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83