#5F5DDB#5F5DDB
#5F5DDB is a mid, vivid blue. Relative luminance 0.154; OKLCH L 55.0% C 0.187 H 279.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #5F5DDB |
|---|---|
| RGB | rgb(95, 93, 219) |
| HSL | hsl(241, 64%, 61%) |
| HSV | hsv(241, 58%, 86%) |
| CMYK | cmyk(56.6%, 57.5%, 0%, 14.1%) |
| CIE-LAB | lab(46.14, 36.40, -64.51) |
| CIE-LCH | lch(46.14, 74.07, 299.43°) |
| OKLab | oklab(55.04% 0.0293 -0.1851) |
| OKLCH | oklch(55.04% 0.187 279) |
| XYZ | xyz(21.4158, 15.3746, 68.8432) |
| Luminance | 0.1538 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.83
Slate Blue
#6A5ACD
ΔE00 3.02
Warm Blue
#4B57DB
ΔE00 3.17
Light Indigo
#6D5ACF
ΔE00 3.25
Iris
#6258C4
ΔE00 3.75
Mediumslateblue
#7B68EE
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F5DDB #D9DB5D
analogous
#5D9ADB #5F5DDB #9E5DDB
triadic
#5F5DDB #DB5F5D #5DDB5F
tetradic
#5F5DDB #DB5D9A #D9DB5D #5DDB9E
square
#5F5DDB #DB5D9A #D9DB5D #5DDB9E
split-complementary
#5F5DDB #DB9E5D #9ADB5D
monochromatic
#24229B #302ECD #5F5DDB #908FE6 #C2C1F1
Accessibility & contrast
On white
5.15
#5F5DDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#5F5DDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F5DDB
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F5DDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F5DDB | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#177B93
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5f5ddb; /* rgb */ color: rgb(95, 93, 219); /* oklch */ color: oklch(55.0% 0.187 279.0);
Tailwind
colors: {
custom: {
50: '#978be7',
500: '#5f5ddb',
950: '#000000',
},
}SCSS
$custom: #5f5ddb; $custom-light: #978be7; $custom-dark: #000000;
JSON
{
"hex": "#5f5ddb",
"rgb": {
"r": 95,
"g": 93,
"b": 219
},
"hsl": {
"h": 240.952,
"s": 63.636,
"l": 61.176
},
"oklch": {
"l": 0.55044,
"c": 0.1874,
"h": 279
},
"luminance": 0.15376
}Semantic roles & 50–950 ramp
primary
#5F5DDB
secondary
#E1E2B2
accent
#CB1AC9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84