#5E52BF#5E52BF
#5E52BF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.0% C 0.165 H 283.9°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5E52BF |
|---|---|
| RGB | rgb(94, 82, 191) |
| HSL | hsl(247, 46%, 54%) |
| HSV | hsv(247, 57%, 75%) |
| CMYK | cmyk(50.8%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(41.49, 34.09, -55.92) |
| CIE-LCH | lch(41.49, 65.50, 301.36°) |
| OKLab | oklab(50.96% 0.0395 -0.1599) |
| OKLCH | oklch(50.96% 0.165 283.9) |
| XYZ | xyz(17.0345, 12.1750, 50.7325) |
| Luminance | 0.1218 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.99
Slate Blue
#6A5ACD
ΔE00 3.61
Light Indigo
#6D5ACF
ΔE00 4.08
Dark Periwinkle
#665FD1
ΔE00 4.84
Bluey Purple
#6241C7
ΔE00 4.92
Ocean Blue
#4F42B5
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E52BF #B3BF52
analogous
#527CBF #5E52BF #9552BF
triadic
#5E52BF #BF5E52 #52BF5E
tetradic
#5E52BF #BF527C #B3BF52 #52BF95
square
#5E52BF #BF527C #B3BF52 #52BF95
split-complementary
#5E52BF #BF9552 #7CBF52
monochromatic
#30296E #44399B #5E52BF #887FD0 #B1ABE0
Accessibility & contrast
On white
6.11
#5E52BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#5E52BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E52BF
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E52BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E52BF | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#396B80
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5e52bf; /* rgb */ color: rgb(94, 82, 191); /* oklch */ color: oklch(51.0% 0.165 283.9);
Tailwind
colors: {
custom: {
50: '#9383d3',
500: '#5e52bf',
950: '#000000',
},
}SCSS
$custom: #5e52bf; $custom-light: #9383d3; $custom-dark: #000000;
JSON
{
"hex": "#5e52bf",
"rgb": {
"r": 94,
"g": 82,
"b": 191
},
"hsl": {
"h": 246.606,
"s": 45.992,
"l": 53.529
},
"oklch": {
"l": 0.50961,
"c": 0.16473,
"h": 283.9
},
"luminance": 0.12176
}Semantic roles & 50–950 ramp
primary
#5E52BF
secondary
#C9CE9F
accent
#D652C7
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0A14
muted
#7E7C83