#5B54BB#5B54BB
#5B54BB is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.8% C 0.157 H 282.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #5B54BB |
|---|---|
| RGB | rgb(91, 84, 187) |
| HSL | hsl(244, 43%, 53%) |
| HSV | hsv(244, 55%, 73%) |
| CMYK | cmyk(51.3%, 55.1%, 0%, 26.7%) |
| CIE-LAB | lab(41.46, 30.99, -53.66) |
| CIE-LCH | lch(41.46, 61.97, 300.01°) |
| OKLab | oklab(50.79% 0.0335 -0.1533) |
| OKLCH | oklch(50.79% 0.157 282.3) |
| XYZ | xyz(16.4516, 12.1517, 48.4827) |
| Luminance | 0.1215 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.05
Slate Blue
#6A5ACD
ΔE00 3.99
Light Indigo
#6D5ACF
ΔE00 4.53
Dark Periwinkle
#665FD1
ΔE00 4.87
Warm Blue
#4B57DB
ΔE00 5.12
Ocean Blue
#4F42B5
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B54BB #B4BB54
analogous
#5480BB #5B54BB #8E54BB
triadic
#5B54BB #BB5B54 #54BB5B
tetradic
#5B54BB #BB5480 #B4BB54 #54BB8E
square
#5B54BB #BB5480 #B4BB54 #54BB8E
split-complementary
#5B54BB #BB8E54 #80BB54
monochromatic
#2F2A6A #423C96 #5B54BB #8580CC #AFACDE
Accessibility & contrast
On white
6.12
#5B54BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#5B54BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B54BB
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B54BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B54BB | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1565BF
Deuteranopia (green-blind)
#055EB9
Tritanopia (blue-blind)
#356B7F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5b54bb; /* rgb */ color: rgb(91, 84, 187); /* oklch */ color: oklch(50.8% 0.157 282.3);
Tailwind
colors: {
custom: {
50: '#9084d0',
500: '#5b54bb',
950: '#000000',
},
}SCSS
$custom: #5b54bb; $custom-light: #9084d0; $custom-dark: #000000;
JSON
{
"hex": "#5b54bb",
"rgb": {
"r": 91,
"g": 84,
"b": 187
},
"hsl": {
"h": 244.078,
"s": 43.096,
"l": 53.137
},
"oklch": {
"l": 0.50786,
"c": 0.15695,
"h": 282.3
},
"luminance": 0.12153
}Semantic roles & 50–950 ramp
primary
#5B54BB
secondary
#C9CC9F
accent
#D355CA
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82