#5B4FDD#5B4FDD
#5B4FDD is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.6% C 0.208 H 280.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4FDD |
|---|---|
| RGB | rgb(91, 79, 221) |
| HSL | hsl(245, 68%, 59%) |
| HSV | hsv(245, 64%, 87%) |
| CMYK | cmyk(58.8%, 64.3%, 0%, 13.3%) |
| CIE-LAB | lab(42.82, 44.66, -71.08) |
| CIE-LCH | lch(42.82, 83.94, 302.14°) |
| OKLab | oklab(52.58% 0.0371 -0.2046) |
| OKLCH | oklch(52.58% 0.208 280.3) |
| XYZ | xyz(20.1574, 13.0352, 69.8464) |
| Luminance | 0.1304 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.49
Purpleish Blue
#6140EF
ΔE00 4.01
Slate Blue
#6A5ACD
ΔE00 4.25
Iris
#6258C4
ΔE00 4.31
Light Indigo
#6D5ACF
ΔE00 4.41
Dark Periwinkle
#665FD1
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4FDD #D1DD4F
analogous
#4F8ADD #5B4FDD #A24FDD
triadic
#5B4FDD #DD5B4F #4FDD5B
tetradic
#5B4FDD #DD4F8A #D1DD4F #4FDDA2
square
#5B4FDD #DD4F8A #D1DD4F #4FDDA2
split-complementary
#5B4FDD #DDA24F #8ADD4F
monochromatic
#271D95 #3427C8 #5B4FDD #8B82E7 #BBB6F1
Accessibility & contrast
On white
5.82
#5B4FDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#5B4FDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4FDD
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4FDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4FDD | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AE1
Deuteranopia (green-blind)
#0060DA
Tritanopia (blue-blind)
#00738F
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5b4fdd; /* rgb */ color: rgb(91, 79, 221); /* oklch */ color: oklch(52.6% 0.208 280.3);
Tailwind
colors: {
custom: {
50: '#9681e9',
500: '#5b4fdd',
950: '#000000',
},
}SCSS
$custom: #5b4fdd; $custom-light: #9681e9; $custom-dark: #000000;
JSON
{
"hex": "#5b4fdd",
"rgb": {
"r": 91,
"g": 79,
"b": 221
},
"hsl": {
"h": 245.07,
"s": 67.619,
"l": 58.824
},
"oklch": {
"l": 0.52576,
"c": 0.20792,
"h": 280.3
},
"luminance": 0.13037
}Semantic roles & 50–950 ramp
primary
#5B4FDD
secondary
#DBE0A8
accent
#EA3DDC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84