#5B4FDE#5B4FDE
#5B4FDE is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.7% C 0.209 H 280.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #5B4FDE |
|---|---|
| RGB | rgb(91, 79, 222) |
| HSL | hsl(245, 68%, 59%) |
| HSV | hsv(245, 64%, 87%) |
| CMYK | cmyk(59%, 64.4%, 0%, 12.9%) |
| CIE-LAB | lab(42.90, 44.97, -71.52) |
| CIE-LCH | lch(42.90, 84.48, 302.16°) |
| OKLab | oklab(52.66% 0.037 -0.2059) |
| OKLCH | oklch(52.66% 0.209 280.2) |
| XYZ | xyz(20.2910, 13.0886, 70.5502) |
| Luminance | 0.1309 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.50
Purpleish Blue
#6140EF
ΔE00 3.95
Slate Blue
#6A5ACD
ΔE00 4.30
Iris
#6258C4
ΔE00 4.40
Light Indigo
#6D5ACF
ΔE00 4.45
Dark Periwinkle
#665FD1
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B4FDE #D2DE4F
analogous
#4F8BDE #5B4FDE #A34FDE
triadic
#5B4FDE #DE5B4F #4FDE5B
tetradic
#5B4FDE #DE4F8B #D2DE4F #4FDEA3
square
#5B4FDE #DE4F8B #D2DE4F #4FDEA3
split-complementary
#5B4FDE #DEA34F #8BDE4F
monochromatic
#261C96 #3426CA #5B4FDE #8B83E8 #BBB6F1
Accessibility & contrast
On white
5.80
#5B4FDE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#5B4FDE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B4FDE
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B4FDE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B4FDE | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BE2
Deuteranopia (green-blind)
#0060DB
Tritanopia (blue-blind)
#00738F
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5b4fde; /* rgb */ color: rgb(91, 79, 222); /* oklch */ color: oklch(52.7% 0.209 280.2);
Tailwind
colors: {
custom: {
50: '#9681e9',
500: '#5b4fde',
950: '#000000',
},
}SCSS
$custom: #5b4fde; $custom-light: #9681e9; $custom-dark: #000000;
JSON
{
"hex": "#5b4fde",
"rgb": {
"r": 91,
"g": 79,
"b": 222
},
"hsl": {
"h": 245.035,
"s": 68.421,
"l": 59.02
},
"oklch": {
"l": 0.52659,
"c": 0.20916,
"h": 280.2
},
"luminance": 0.1309
}Semantic roles & 50–950 ramp
primary
#5B4FDE
secondary
#DCE0A8
accent
#EB3DDD
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84