#5D4FDB#5D4FDB
#5D4FDB is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.6% C 0.205 H 281.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #5D4FDB |
|---|---|
| RGB | rgb(93, 79, 219) |
| HSL | hsl(246, 66%, 58%) |
| HSV | hsv(246, 64%, 86%) |
| CMYK | cmyk(57.5%, 63.9%, 0%, 14.1%) |
| CIE-LAB | lab(42.81, 44.35, -69.94) |
| CIE-LCH | lch(42.81, 82.82, 302.38°) |
| OKLab | oklab(52.56% 0.0398 -0.2012) |
| OKLCH | oklch(52.56% 0.205 281.2) |
| XYZ | xyz(20.0924, 13.0322, 68.4608) |
| Luminance | 0.1303 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.70
Slate Blue
#6A5ACD
ΔE00 4.02
Purpleish Blue
#6140EF
ΔE00 4.06
Iris
#6258C4
ΔE00 4.09
Light Indigo
#6D5ACF
ΔE00 4.17
Bluey Purple
#6241C7
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D4FDB #CDDB4F
analogous
#4F87DB #5D4FDB #A34FDB
triadic
#5D4FDB #DB5D4F #4FDB5D
tetradic
#5D4FDB #DB4F87 #CDDB4F #4FDBA3
square
#5D4FDB #DB4F87 #CDDB4F #4FDBA3
split-complementary
#5D4FDB #DBA34F #87DB4F
monochromatic
#291E92 #3828C5 #5D4FDB #8C82E5 #BBB5F0
Accessibility & contrast
On white
5.82
#5D4FDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#5D4FDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D4FDB
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D4FDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D4FDB | 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)
#006ADF
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#0F728E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5d4fdb; /* rgb */ color: rgb(93, 79, 219); /* oklch */ color: oklch(52.6% 0.205 281.2);
Tailwind
colors: {
custom: {
50: '#9781e7',
500: '#5d4fdb',
950: '#000000',
},
}SCSS
$custom: #5d4fdb; $custom-light: #9781e7; $custom-dark: #000000;
JSON
{
"hex": "#5d4fdb",
"rgb": {
"r": 93,
"g": 79,
"b": 219
},
"hsl": {
"h": 246,
"s": 66.038,
"l": 58.431
},
"oklch": {
"l": 0.52562,
"c": 0.20508,
"h": 281.2
},
"luminance": 0.13034
}Semantic roles & 50–950 ramp
primary
#5D4FDB
secondary
#D9DFA7
accent
#E93FD8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84