#5E5FDD#5E5FDD
#5E5FDD is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.5% C 0.188 H 278.0°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5FDD |
|---|---|
| RGB | rgb(94, 95, 221) |
| HSL | hsl(240, 65%, 62%) |
| HSV | hsv(240, 57%, 87%) |
| CMYK | cmyk(57.5%, 57%, 0%, 13.3%) |
| CIE-LAB | lab(46.69, 35.64, -64.77) |
| CIE-LCH | lch(46.69, 73.93, 298.82°) |
| OKLab | oklab(55.47% 0.0262 -0.1859) |
| OKLCH | oklch(55.47% 0.188 278) |
| XYZ | xyz(21.7553, 15.7830, 70.2926) |
| Luminance | 0.1578 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.11
Warm Blue
#4B57DB
ΔE00 3.42
Slate Blue
#6A5ACD
ΔE00 3.61
Light Indigo
#6D5ACF
ΔE00 3.81
Iris
#6258C4
ΔE00 4.34
Royal Blue
#4169E1
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5FDD #DDDC5E
analogous
#5E9EDD #5E5FDD #9D5EDD
triadic
#5E5FDD #DD5E5F #5FDD5E
tetradic
#5E5FDD #DD5E9E #DDDC5E #5EDD9D
square
#5E5FDD #DD5E9E #DDDC5E #5EDD9D
split-complementary
#5E5FDD #DD9D5E #9EDD5E
monochromatic
#22239F #2C2ED2 #5E5FDD #9191E8 #C3C3F2
Accessibility & contrast
On white
5.05
#5E5FDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#5E5FDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E5FDD
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5FDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5FDD | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#0069DA
Tritanopia (blue-blind)
#087D95
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5e5fdd; /* rgb */ color: rgb(94, 95, 221); /* oklch */ color: oklch(55.5% 0.188 278.0);
Tailwind
colors: {
custom: {
50: '#978ce8',
500: '#5e5fdd',
950: '#000000',
},
}SCSS
$custom: #5e5fdd; $custom-light: #978ce8; $custom-dark: #000000;
JSON
{
"hex": "#5e5fdd",
"rgb": {
"r": 94,
"g": 95,
"b": 221
},
"hsl": {
"h": 239.528,
"s": 65.128,
"l": 61.765
},
"oklch": {
"l": 0.55475,
"c": 0.18769,
"h": 278
},
"luminance": 0.15785
}Semantic roles & 50–950 ramp
primary
#5E5FDD
secondary
#E3E3B4
accent
#CC19CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84