#5F5DDE#5F5DDE
#5F5DDE is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.3% C 0.191 H 278.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5DDE |
|---|---|
| RGB | rgb(95, 93, 222) |
| HSL | hsl(241, 66%, 62%) |
| HSV | hsv(241, 58%, 87%) |
| CMYK | cmyk(57.2%, 58.1%, 0%, 12.9%) |
| CIE-LAB | lab(46.36, 37.35, -65.87) |
| CIE-LCH | lch(46.36, 75.72, 299.55°) |
| OKLab | oklab(55.27% 0.0293 -0.1891) |
| OKLCH | oklch(55.27% 0.191 278.8) |
| XYZ | xyz(21.8143, 15.5340, 70.9419) |
| Luminance | 0.1554 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.13
Warm Blue
#4B57DB
ΔE00 3.25
Slate Blue
#6A5ACD
ΔE00 3.28
Light Indigo
#6D5ACF
ΔE00 3.45
Iris
#6258C4
ΔE00 4.11
Mediumslateblue
#7B68EE
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5DDE #DCDE5D
analogous
#5D9CDE #5F5DDE #A05DDE
triadic
#5F5DDE #DE5F5D #5DDE5F
tetradic
#5F5DDE #DE5D9C #DCDE5D #5DDEA0
square
#5F5DDE #DE5D9C #DCDE5D #5DDEA0
split-complementary
#5F5DDE #DEA05D #9CDE5D
monochromatic
#2321A0 #2E2BD3 #5F5DDE #9190E8 #C3C3F3
Accessibility & contrast
On white
5.11
#5F5DDE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#5F5DDE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5DDE
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5DDE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5DDE | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#0069DB
Tritanopia (blue-blind)
#0F7C94
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5f5dde; /* rgb */ color: rgb(95, 93, 222); /* oklch */ color: oklch(55.3% 0.191 278.8);
Tailwind
colors: {
custom: {
50: '#978be9',
500: '#5f5dde',
950: '#000000',
},
}SCSS
$custom: #5f5dde; $custom-light: #978be9; $custom-dark: #000000;
JSON
{
"hex": "#5f5dde",
"rgb": {
"r": 95,
"g": 93,
"b": 222
},
"hsl": {
"h": 240.93,
"s": 66.154,
"l": 61.765
},
"oklch": {
"l": 0.5527,
"c": 0.19134,
"h": 278.8
},
"luminance": 0.15536
}Semantic roles & 50–950 ramp
primary
#5F5DDE
secondary
#E3E3B4
accent
#CE17CB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84