#5F59DD#5F59DD
#5F59DD is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.5% C 0.195 H 279.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #5F59DD |
|---|---|
| RGB | rgb(95, 89, 221) |
| HSL | hsl(243, 66%, 61%) |
| HSV | hsv(243, 60%, 87%) |
| CMYK | cmyk(57%, 59.7%, 0%, 13.3%) |
| CIE-LAB | lab(45.35, 39.43, -66.93) |
| CIE-LCH | lch(45.35, 77.68, 300.50°) |
| OKLab | oklab(54.51% 0.0331 -0.1922) |
| OKLCH | oklch(54.51% 0.195 279.8) |
| XYZ | xyz(21.3387, 14.7967, 70.1242) |
| Luminance | 0.1480 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.55
Slate Blue
#6A5ACD
ΔE00 2.89
Warm Blue
#4B57DB
ΔE00 2.90
Light Indigo
#6D5ACF
ΔE00 3.07
Iris
#6258C4
ΔE00 3.61
Purpleish Blue
#6140EF
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F59DD #D7DD59
analogous
#5995DD #5F59DD #A159DD
triadic
#5F59DD #DD5F59 #59DD5F
tetradic
#5F59DD #DD5995 #D7DD59 #59DDA1
square
#5F59DD #DD5995 #D7DD59 #59DDA1
split-complementary
#5F59DD #DDA159 #95DD59
monochromatic
#26209C #322ACF #5F59DD #908CE7 #C1BFF2
Accessibility & contrast
On white
5.30
#5F59DD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#5F59DD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F59DD
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F59DD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F59DD | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#137992
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5f59dd; /* rgb */ color: rgb(95, 89, 221); /* oklch */ color: oklch(54.5% 0.195 279.8);
Tailwind
colors: {
custom: {
50: '#9788e8',
500: '#5f59dd',
950: '#000000',
},
}SCSS
$custom: #5f59dd; $custom-light: #9788e8; $custom-dark: #000000;
JSON
{
"hex": "#5f59dd",
"rgb": {
"r": 95,
"g": 89,
"b": 221
},
"hsl": {
"h": 242.727,
"s": 66,
"l": 60.784
},
"oklch": {
"l": 0.54508,
"c": 0.19505,
"h": 279.8
},
"luminance": 0.14798
}Semantic roles & 50–950 ramp
primary
#5F59DD
secondary
#E0E2B0
accent
#CE18C6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84