#5B4FBB#5B4FBB
#5B4FBB is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.9% C 0.164 H 283.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4FBB |
|---|---|
| RGB | rgb(91, 79, 187) |
| HSL | hsl(247, 44%, 52%) |
| HSV | hsv(247, 58%, 73%) |
| CMYK | cmyk(51.3%, 57.8%, 0%, 26.7%) |
| CIE-LAB | lab(40.25, 34.06, -55.61) |
| CIE-LCH | lch(40.25, 65.21, 301.49°) |
| OKLab | oklab(49.89% 0.039 -0.1591) |
| OKLCH | oklch(49.89% 0.164 283.8) |
| XYZ | xyz(16.0773, 11.4031, 48.3579) |
| Luminance | 0.1140 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.09
Ocean Blue
#4F42B5
ΔE00 4.03
Bluey Purple
#6241C7
ΔE00 4.46
Slate Blue
#6A5ACD
ΔE00 4.71
Light Indigo
#6D5ACF
ΔE00 5.15
Blue With A Hint Of Purple
#533CC6
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4FBB #AFBB4F
analogous
#4F79BB #5B4FBB #914FBB
triadic
#5B4FBB #BB5B4F #4FBB5B
tetradic
#5B4FBB #BB4F79 #AFBB4F #4FBB91
square
#5B4FBB #BB4F79 #AFBB4F #4FBB91
split-complementary
#5B4FBB #BB914F #79BB4F
monochromatic
#2F2868 #433994 #5B4FBB #847BCC #ADA7DD
Accessibility & contrast
On white
6.40
#5B4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#5B4FBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4FBB
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4FBB | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#36687D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5b4fbb; /* rgb */ color: rgb(91, 79, 187); /* oklch */ color: oklch(49.9% 0.164 283.8);
Tailwind
colors: {
custom: {
50: '#9181d0',
500: '#5b4fbb',
950: '#000000',
},
}SCSS
$custom: #5b4fbb; $custom-light: #9181d0; $custom-dark: #000000;
JSON
{
"hex": "#5b4fbb",
"rgb": {
"r": 91,
"g": 79,
"b": 187
},
"hsl": {
"h": 246.667,
"s": 44.262,
"l": 52.157
},
"oklch": {
"l": 0.49892,
"c": 0.1638,
"h": 283.8
},
"luminance": 0.11404
}Semantic roles & 50–950 ramp
primary
#5B4FBB
secondary
#C5CA9B
accent
#D454C6
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0A14
muted
#7E7C82