#5F5DDF#5F5DDF
#5F5DDF is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.3% C 0.193 H 278.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5DDF |
|---|---|
| RGB | rgb(95, 93, 223) |
| HSL | hsl(241, 67%, 62%) |
| HSV | hsv(241, 58%, 87%) |
| CMYK | cmyk(57.4%, 58.3%, 0%, 12.5%) |
| CIE-LAB | lab(46.43, 37.67, -66.32) |
| CIE-LCH | lch(46.43, 76.27, 299.59°) |
| OKLab | oklab(55.35% 0.0292 -0.1904) |
| OKLCH | oklch(55.35% 0.193 278.7) |
| XYZ | xyz(21.9487, 15.5878, 71.6499) |
| Luminance | 0.1559 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.24
Warm Blue
#4B57DB
ΔE00 3.29
Slate Blue
#6A5ACD
ΔE00 3.38
Light Indigo
#6D5ACF
ΔE00 3.52
Iris
#6258C4
ΔE00 4.23
Mediumslateblue
#7B68EE
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5DDF #DDDF5D
analogous
#5D9CDF #5F5DDF #A05DDF
triadic
#5F5DDF #DF5F5D #5DDF5F
tetradic
#5F5DDF #DF5D9C #DDDF5D #5DDFA0
square
#5F5DDF #DF5D9C #DDDF5D #5DDFA0
split-complementary
#5F5DDF #DFA05D #9CDF5D
monochromatic
#2220A2 #2D2AD5 #5F5DDF #9190E9 #C4C3F3
Accessibility & contrast
On white
5.10
#5F5DDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#5F5DDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5DDF
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5DDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5DDF | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#0B7C95
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5f5ddf; /* rgb */ color: rgb(95, 93, 223); /* oklch */ color: oklch(55.3% 0.193 278.7);
Tailwind
colors: {
custom: {
50: '#978bea',
500: '#5f5ddf',
950: '#000000',
},
}SCSS
$custom: #5f5ddf; $custom-light: #978bea; $custom-dark: #000000;
JSON
{
"hex": "#5f5ddf",
"rgb": {
"r": 95,
"g": 93,
"b": 223
},
"hsl": {
"h": 240.923,
"s": 67.01,
"l": 61.961
},
"oklch": {
"l": 0.55346,
"c": 0.19265,
"h": 278.7
},
"luminance": 0.15589
}Semantic roles & 50–950 ramp
primary
#5F5DDF
secondary
#E3E4B4
accent
#CF17CC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84