#5B4BB0#5B4BB0
#5B4BB0 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.4% C 0.154 H 286.4°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4BB0 |
|---|---|
| RGB | rgb(91, 75, 176) |
| HSL | hsl(250, 40%, 49%) |
| HSV | hsv(250, 57%, 69%) |
| CMYK | cmyk(48.3%, 57.4%, 0%, 31%) |
| CIE-LAB | lab(38.53, 33.11, -51.91) |
| CIE-LCH | lch(38.53, 61.57, 302.53°) |
| OKLab | oklab(48.38% 0.0435 -0.1482) |
| OKLCH | oklch(48.38% 0.154 286.4) |
| XYZ | xyz(14.6646, 10.3902, 42.2987) |
| Luminance | 0.1039 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.23
Bluey Purple
#6241C7
ΔE00 4.55
Iris
#6258C4
ΔE00 4.87
Blue With A Hint Of Purple
#533CC6
ΔE00 5.24
Blueberry
#464196
ΔE00 5.59
Blurple
#5539CC
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4BB0 #A0B04B
analogous
#4B6EB0 #5B4BB0 #8E4BB0
triadic
#5B4BB0 #B05B4B #4BB05B
tetradic
#5B4BB0 #B04B6E #A0B04B #4BB08E
square
#5B4BB0 #B04B6E #A0B04B #4BB08E
split-complementary
#5B4BB0 #B08E4B #6EB04B
monochromatic
#2F265A #453985 #5B4BB0 #8174C4 #A89FD6
Accessibility & contrast
On white
6.82
#5B4BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#5B4BB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4BB0
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4BB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4BB0 | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#035DB3
Deuteranopia (green-blind)
#0058AE
Tritanopia (blue-blind)
#3E6276
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #5b4bb0; /* rgb */ color: rgb(91, 75, 176); /* oklch */ color: oklch(48.4% 0.154 286.4);
Tailwind
colors: {
custom: {
50: '#907ec8',
500: '#5b4bb0',
950: '#000000',
},
}SCSS
$custom: #5b4bb0; $custom-light: #907ec8; $custom-dark: #000000;
JSON
{
"hex": "#5b4bb0",
"rgb": {
"r": 91,
"g": 75,
"b": 176
},
"hsl": {
"h": 249.505,
"s": 40.239,
"l": 49.216
},
"oklch": {
"l": 0.48379,
"c": 0.15449,
"h": 286.4
},
"luminance": 0.10391
}Semantic roles & 50–950 ramp
primary
#5B4BB0
secondary
#BBC394
accent
#D058BD
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82