#5B5BB0#5B5BB0
#5B5BB0 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.4% C 0.132 H 280.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5BB0 |
|---|---|
| RGB | rgb(91, 91, 176) |
| HSL | hsl(240, 35%, 52%) |
| HSV | hsv(240, 48%, 69%) |
| CMYK | cmyk(48.3%, 48.3%, 0%, 31%) |
| CIE-LAB | lab(42.52, 23.19, -45.50) |
| CIE-LCH | lch(42.52, 51.07, 297.01°) |
| OKLab | oklab(51.36% 0.0245 -0.1293) |
| OKLCH | oklch(51.36% 0.132 280.7) |
| XYZ | xyz(15.8896, 12.8401, 42.7070) |
| Luminance | 0.1284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.70
Slate Blue
#6A5ACD
ΔE00 5.33
Dark Periwinkle
#665FD1
ΔE00 5.45
Light Indigo
#6D5ACF
ΔE00 5.88
Warm Blue
#4B57DB
ΔE00 6.67
Dusky Blue
#475F94
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5BB0 #B0B05B
analogous
#5B86B0 #5B5BB0 #865BB0
triadic
#5B5BB0 #B05B5B #5BB05B
tetradic
#5B5BB0 #B05B86 #B0B05B #5BB086
square
#5B5BB0 #B05B86 #B0B05B #5BB086
split-complementary
#5B5BB0 #B0865B #86B05B
monochromatic
#2F2F62 #43438B #5B5BB0 #8484C4 #AEAED8
Accessibility & contrast
On white
5.89
#5B5BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#5B5BB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5BB0
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5BB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5BB0 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3668B3
Deuteranopia (green-blind)
#3061AE
Tritanopia (blue-blind)
#3C6D7D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5b5bb0; /* rgb */ color: rgb(91, 91, 176); /* oklch */ color: oklch(51.4% 0.132 280.7);
Tailwind
colors: {
custom: {
50: '#8f89c8',
500: '#5b5bb0',
950: '#000000',
},
}SCSS
$custom: #5b5bb0; $custom-light: #8f89c8; $custom-dark: #000000;
JSON
{
"hex": "#5b5bb0",
"rgb": {
"r": 91,
"g": 91,
"b": 176
},
"hsl": {
"h": 240,
"s": 34.979,
"l": 52.353
},
"oklch": {
"l": 0.51359,
"c": 0.13161,
"h": 280.7
},
"luminance": 0.12841
}Semantic roles & 50–950 ramp
primary
#5B5BB0
secondary
#C6C6A1
accent
#CB5DCB
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0B13
muted
#7E7C82