#5F59DE#5F59DE
#5F59DE is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.6% C 0.196 H 279.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #5F59DE |
|---|---|
| RGB | rgb(95, 89, 222) |
| HSL | hsl(243, 67%, 61%) |
| HSV | hsv(243, 60%, 87%) |
| CMYK | cmyk(57.2%, 59.9%, 0%, 12.9%) |
| CIE-LAB | lab(45.43, 39.74, -67.38) |
| CIE-LCH | lch(45.43, 78.23, 300.53°) |
| OKLab | oklab(54.58% 0.033 -0.1935) |
| OKLCH | oklch(54.58% 0.196 279.7) |
| XYZ | xyz(21.4724, 14.8501, 70.8279) |
| Luminance | 0.1485 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.63
Warm Blue
#4B57DB
ΔE00 2.93
Slate Blue
#6A5ACD
ΔE00 2.99
Light Indigo
#6D5ACF
ΔE00 3.14
Iris
#6258C4
ΔE00 3.74
Purpleish Blue
#6140EF
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F59DE #D8DE59
analogous
#5995DE #5F59DE #A159DE
triadic
#5F59DE #DE5F59 #59DE5F
tetradic
#5F59DE #DE5995 #D8DE59 #59DEA1
square
#5F59DE #DE5995 #D8DE59 #59DEA1
split-complementary
#5F59DE #DEA159 #95DE59
monochromatic
#251F9D #3129D0 #5F59DE #908CE8 #C1BFF2
Accessibility & contrast
On white
5.29
#5F59DE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#5F59DE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F59DE
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F59DE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F59DE | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E2
Deuteranopia (green-blind)
#0066DB
Tritanopia (blue-blind)
#117993
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5f59de; /* rgb */ color: rgb(95, 89, 222); /* oklch */ color: oklch(54.6% 0.196 279.7);
Tailwind
colors: {
custom: {
50: '#9888e9',
500: '#5f59de',
950: '#000000',
},
}SCSS
$custom: #5f59de; $custom-light: #9888e9; $custom-dark: #000000;
JSON
{
"hex": "#5f59de",
"rgb": {
"r": 95,
"g": 89,
"b": 222
},
"hsl": {
"h": 242.707,
"s": 66.834,
"l": 60.98
},
"oklch": {
"l": 0.54585,
"c": 0.19635,
"h": 279.7
},
"luminance": 0.14852
}Semantic roles & 50–950 ramp
primary
#5F59DE
secondary
#E0E2B0
accent
#CF17C6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84