#5D51D9#5D51D9
#5D51D9 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.7% C 0.200 H 281.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #5D51D9 |
|---|---|
| RGB | rgb(93, 81, 217) |
| HSL | hsl(245, 64%, 58%) |
| HSV | hsv(245, 63%, 85%) |
| CMYK | cmyk(57.1%, 62.7%, 0%, 14.9%) |
| CIE-LAB | lab(43.09, 42.57, -68.34) |
| CIE-LCH | lch(43.09, 80.51, 301.92°) |
| OKLab | oklab(52.72% 0.0382 -0.1965) |
| OKLCH | oklch(52.72% 0.2 281) |
| XYZ | xyz(19.9771, 13.2204, 67.1313) |
| Luminance | 0.1322 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.33
Slate Blue
#6A5ACD
ΔE00 3.56
Iris
#6258C4
ΔE00 3.59
Light Indigo
#6D5ACF
ΔE00 3.75
Dark Periwinkle
#665FD1
ΔE00 4.35
Purpleish Blue
#6140EF
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D51D9 #CDD951
analogous
#5189D9 #5D51D9 #A151D9
triadic
#5D51D9 #D95D51 #51D95D
tetradic
#5D51D9 #D95189 #CDD951 #51D9A1
square
#5D51D9 #D95189 #CDD951 #51D9A1
split-complementary
#5D51D9 #D9A151 #89D951
monochromatic
#291F90 #382AC2 #5D51D9 #8C83E4 #BBB5EF
Accessibility & contrast
On white
5.76
#5D51D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#5D51D9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D51D9
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D51D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D51D9 | 1.00 | 5.76 | 3.64 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#0061D6
Tritanopia (blue-blind)
#14738D
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5d51d9; /* rgb */ color: rgb(93, 81, 217); /* oklch */ color: oklch(52.7% 0.200 281.0);
Tailwind
colors: {
custom: {
50: '#9683e6',
500: '#5d51d9',
950: '#000000',
},
}SCSS
$custom: #5d51d9; $custom-light: #9683e6; $custom-dark: #000000;
JSON
{
"hex": "#5d51d9",
"rgb": {
"r": 93,
"g": 81,
"b": 217
},
"hsl": {
"h": 245.294,
"s": 64.151,
"l": 58.431
},
"oklch": {
"l": 0.52718,
"c": 0.20014,
"h": 281
},
"luminance": 0.13222
}Semantic roles & 50–950 ramp
primary
#5D51D9
secondary
#D9DEA8
accent
#E741D8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0F0A16
muted
#7E7C84