#5E58DB#5E58DB
#5E58DB is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.1% C 0.194 H 279.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #5E58DB |
|---|---|
| RGB | rgb(94, 88, 219) |
| HSL | hsl(243, 65%, 60%) |
| HSV | hsv(243, 60%, 86%) |
| CMYK | cmyk(57.1%, 59.8%, 0%, 14.1%) |
| CIE-LAB | lab(44.90, 39.22, -66.53) |
| CIE-LCH | lch(44.90, 77.23, 300.52°) |
| OKLab | oklab(54.11% 0.0329 -0.1911) |
| OKLCH | oklch(54.11% 0.194 279.8) |
| XYZ | xyz(20.8880, 14.4722, 68.6968) |
| Luminance | 0.1447 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.67
Warm Blue
#4B57DB
ΔE00 2.70
Slate Blue
#6A5ACD
ΔE00 2.82
Light Indigo
#6D5ACF
ΔE00 3.05
Iris
#6258C4
ΔE00 3.33
Purpleish Blue
#6140EF
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E58DB #D5DB58
analogous
#5893DB #5E58DB #9F58DB
triadic
#5E58DB #DB5E58 #58DB5E
tetradic
#5E58DB #DB5893 #D5DB58 #58DB9F
square
#5E58DB #DB5893 #D5DB58 #58DB9F
split-complementary
#5E58DB #DB9F58 #93DB58
monochromatic
#262198 #332CCA #5E58DB #8F8AE6 #BFBDF1
Accessibility & contrast
On white
5.39
#5E58DB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#5E58DB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E58DB
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E58DB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E58DB | 1.00 | 5.39 | 3.89 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#137891
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5e58db; /* rgb */ color: rgb(94, 88, 219); /* oklch */ color: oklch(54.1% 0.194 279.8);
Tailwind
colors: {
custom: {
50: '#9787e7',
500: '#5e58db',
950: '#000000',
},
}SCSS
$custom: #5e58db; $custom-light: #9787e7; $custom-dark: #000000;
JSON
{
"hex": "#5e58db",
"rgb": {
"r": 94,
"g": 88,
"b": 219
},
"hsl": {
"h": 242.748,
"s": 64.532,
"l": 60.196
},
"oklch": {
"l": 0.5411,
"c": 0.1939,
"h": 279.8
},
"luminance": 0.14474
}Semantic roles & 50–950 ramp
primary
#5E58DB
secondary
#DEE1AE
accent
#CC19C4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84