#5D52BF#5D52BF
#5D52BF is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.9% C 0.165 H 283.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5D52BF |
|---|---|
| RGB | rgb(93, 82, 191) |
| HSL | hsl(246, 46%, 54%) |
| HSV | hsv(246, 57%, 75%) |
| CMYK | cmyk(51.3%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(41.41, 33.88, -56.06) |
| CIE-LCH | lch(41.41, 65.51, 301.15°) |
| OKLab | oklab(50.88% 0.0383 -0.1604) |
| OKLCH | oklch(50.88% 0.165 283.4) |
| XYZ | xyz(16.9326, 12.1224, 50.7278) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.03
Slate Blue
#6A5ACD
ΔE00 3.70
Light Indigo
#6D5ACF
ΔE00 4.18
Dark Periwinkle
#665FD1
ΔE00 4.87
Bluey Purple
#6241C7
ΔE00 4.98
Warm Blue
#4B57DB
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D52BF #B4BF52
analogous
#527DBF #5D52BF #9352BF
triadic
#5D52BF #BF5D52 #52BF5D
tetradic
#5D52BF #BF527D #B4BF52 #52BF93
square
#5D52BF #BF527D #B4BF52 #52BF93
split-complementary
#5D52BF #BF9352 #7DBF52
monochromatic
#30296E #43399B #5D52BF #877FD0 #B1ABE0
Accessibility & contrast
On white
6.13
#5D52BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#5D52BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D52BF
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D52BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D52BF | 1.00 | 6.13 | 3.42 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#376B80
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5d52bf; /* rgb */ color: rgb(93, 82, 191); /* oklch */ color: oklch(50.9% 0.165 283.4);
Tailwind
colors: {
custom: {
50: '#9283d3',
500: '#5d52bf',
950: '#000000',
},
}SCSS
$custom: #5d52bf; $custom-light: #9283d3; $custom-dark: #000000;
JSON
{
"hex": "#5d52bf",
"rgb": {
"r": 93,
"g": 82,
"b": 191
},
"hsl": {
"h": 246.055,
"s": 45.992,
"l": 53.529
},
"oklch": {
"l": 0.50879,
"c": 0.16486,
"h": 283.4
},
"luminance": 0.12123
}Semantic roles & 50–950 ramp
primary
#5D52BF
secondary
#C9CE9F
accent
#D652C8
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0A14
muted
#7E7C83