#5B5BBD#5B5BBD
#5B5BBD is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.2% C 0.150 H 279.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5BBD |
|---|---|
| RGB | rgb(91, 91, 189) |
| HSL | hsl(240, 43%, 55%) |
| HSV | hsv(240, 52%, 74%) |
| CMYK | cmyk(51.9%, 51.9%, 0%, 25.9%) |
| CIE-LAB | lab(43.33, 27.29, -51.81) |
| CIE-LCH | lch(43.33, 58.56, 297.78°) |
| OKLab | oklab(52.23% 0.0257 -0.1478) |
| OKLCH | oklch(52.23% 0.15 279.9) |
| XYZ | xyz(17.2379, 13.3794, 49.8084) |
| Luminance | 0.1338 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.13
Dark Periwinkle
#665FD1
ΔE00 3.66
Slate Blue
#6A5ACD
ΔE00 3.74
Light Indigo
#6D5ACF
ΔE00 4.35
Warm Blue
#4B57DB
ΔE00 4.73
Ocean Blue
#4F42B5
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5BBD #BDBD5B
analogous
#5B8CBD #5B5BBD #8C5BBD
triadic
#5B5BBD #BD5B5B #5BBD5B
tetradic
#5B5BBD #BD5B8C #BDBD5B #5BBD8C
square
#5B5BBD #BD5B8C #BDBD5B #5BBD8C
split-complementary
#5B5BBD #BD8C5B #8CBD5B
monochromatic
#2D2D70 #3F3F9C #5B5BBD #8787CF #B2B2E0
Accessibility & contrast
On white
5.71
#5B5BBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#5B5BBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5BBD
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5BBD | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#296AC0
Deuteranopia (green-blind)
#1D63BB
Tritanopia (blue-blind)
#327183
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5b5bbd; /* rgb */ color: rgb(91, 91, 189); /* oklch */ color: oklch(52.2% 0.150 279.9);
Tailwind
colors: {
custom: {
50: '#9089d1',
500: '#5b5bbd',
950: '#000000',
},
}SCSS
$custom: #5b5bbd; $custom-light: #9089d1; $custom-dark: #000000;
JSON
{
"hex": "#5b5bbd",
"rgb": {
"r": 91,
"g": 91,
"b": 189
},
"hsl": {
"h": 240,
"s": 42.609,
"l": 54.902
},
"oklch": {
"l": 0.52227,
"c": 0.15007,
"h": 279.9
},
"luminance": 0.1338
}Semantic roles & 50–950 ramp
primary
#5B5BBD
secondary
#CFCFA5
accent
#D255D2
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0B14
muted
#7E7C82