#5B4FCB#5B4FCB
#5B4FCB is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.1% C 0.185 H 282.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4FCB |
|---|---|
| RGB | rgb(91, 79, 203) |
| HSL | hsl(246, 54%, 55%) |
| HSV | hsv(246, 61%, 80%) |
| CMYK | cmyk(55.2%, 61.1%, 0%, 20.4%) |
| CIE-LAB | lab(41.42, 39.04, -63.03) |
| CIE-LCH | lch(41.42, 74.14, 301.78°) |
| OKLab | oklab(51.12% 0.0385 -0.1809) |
| OKLCH | oklch(51.12% 0.185 282) |
| XYZ | xyz(17.8865, 12.1268, 57.8865) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.98
Slate Blue
#6A5ACD
ΔE00 3.92
Bluey Purple
#6241C7
ΔE00 4.10
Warm Blue
#4B57DB
ΔE00 4.12
Light Indigo
#6D5ACF
ΔE00 4.28
Ocean Blue
#4F42B5
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4FCB #BFCB4F
analogous
#4F81CB #5B4FCB #994FCB
triadic
#5B4FCB #CB5B4F #4FCB5B
tetradic
#5B4FCB #CB4F81 #BFCB4F #4FCB99
square
#5B4FCB #CB4F81 #BFCB4F #4FCB99
split-complementary
#5B4FCB #CB994F #81CB4F
monochromatic
#2D247B #3E32AA #5B4FCB #877ED9 #B3ADE7
Accessibility & contrast
On white
6.13
#5B4FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#5B4FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4FCB
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4FCB | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#256D85
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5b4fcb; /* rgb */ color: rgb(91, 79, 203); /* oklch */ color: oklch(51.1% 0.185 282.0);
Tailwind
colors: {
custom: {
50: '#9381dc',
500: '#5b4fcb',
950: '#000000',
},
}SCSS
$custom: #5b4fcb; $custom-light: #9381dc; $custom-dark: #000000;
JSON
{
"hex": "#5b4fcb",
"rgb": {
"r": 91,
"g": 79,
"b": 203
},
"hsl": {
"h": 245.806,
"s": 54.386,
"l": 55.294
},
"oklch": {
"l": 0.51118,
"c": 0.18496,
"h": 282
},
"luminance": 0.12128
}Semantic roles & 50–950 ramp
primary
#5B4FCB
secondary
#D0D5A1
accent
#DE4ACF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83