#5E5FDC#5E5FDC
#5E5FDC is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.4% C 0.186 H 278.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5FDC |
|---|---|
| RGB | rgb(94, 95, 220) |
| HSL | hsl(240, 64%, 62%) |
| HSV | hsv(240, 57%, 86%) |
| CMYK | cmyk(57.3%, 56.8%, 0%, 13.7%) |
| CIE-LAB | lab(46.62, 35.32, -64.32) |
| CIE-LCH | lch(46.62, 73.38, 298.78°) |
| OKLab | oklab(55.4% 0.0262 -0.1845) |
| OKLCH | oklch(55.4% 0.186 278.1) |
| XYZ | xyz(21.6225, 15.7299, 69.5930) |
| Luminance | 0.1573 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.02
Warm Blue
#4B57DB
ΔE00 3.39
Slate Blue
#6A5ACD
ΔE00 3.54
Light Indigo
#6D5ACF
ΔE00 3.75
Iris
#6258C4
ΔE00 4.23
Royal Blue
#4169E1
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5FDC #DCDB5E
analogous
#5E9EDC #5E5FDC #9C5EDC
triadic
#5E5FDC #DC5E5F #5FDC5E
tetradic
#5E5FDC #DC5E9E #DCDB5E #5EDC9C
square
#5E5FDC #DC5E9E #DCDB5E #5EDC9C
split-complementary
#5E5FDC #DC9C5E #9EDC5E
monochromatic
#22239D #2D2ED0 #5E5FDC #9091E7 #C3C3F2
Accessibility & contrast
On white
5.06
#5E5FDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#5E5FDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E5FDC
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5FDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5FDC | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#0C7D94
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5e5fdc; /* rgb */ color: rgb(94, 95, 220); /* oklch */ color: oklch(55.4% 0.186 278.1);
Tailwind
colors: {
custom: {
50: '#968ce8',
500: '#5e5fdc',
950: '#000000',
},
}SCSS
$custom: #5e5fdc; $custom-light: #968ce8; $custom-dark: #000000;
JSON
{
"hex": "#5e5fdc",
"rgb": {
"r": 94,
"g": 95,
"b": 220
},
"hsl": {
"h": 239.524,
"s": 64.286,
"l": 61.569
},
"oklch": {
"l": 0.55401,
"c": 0.18638,
"h": 278.1
},
"luminance": 0.15731
}Semantic roles & 50–950 ramp
primary
#5E5FDC
secondary
#E2E2B3
accent
#CB19CC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84