#5F59DF#5F59DF
#5F59DF is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.7% C 0.198 H 279.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #5F59DF |
|---|---|
| RGB | rgb(95, 89, 223) |
| HSL | hsl(243, 68%, 61%) |
| HSV | hsv(243, 60%, 87%) |
| CMYK | cmyk(57.4%, 60.1%, 0%, 12.5%) |
| CIE-LAB | lab(45.50, 40.06, -67.83) |
| CIE-LCH | lch(45.50, 78.77, 300.57°) |
| OKLab | oklab(54.66% 0.033 -0.1949) |
| OKLCH | oklch(54.66% 0.198 279.6) |
| XYZ | xyz(21.6068, 14.9039, 71.5359) |
| Luminance | 0.1490 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.71
Warm Blue
#4B57DB
ΔE00 2.97
Slate Blue
#6A5ACD
ΔE00 3.08
Light Indigo
#6D5ACF
ΔE00 3.22
Iris
#6258C4
ΔE00 3.87
Purpleish Blue
#6140EF
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F59DF #D9DF59
analogous
#5996DF #5F59DF #A259DF
triadic
#5F59DF #DF5F59 #59DF5F
tetradic
#5F59DF #DF5996 #D9DF59 #59DFA2
square
#5F59DF #DF5996 #D9DF59 #59DFA2
split-complementary
#5F59DF #DFA259 #96DF59
monochromatic
#241F9F #3029D2 #5F59DF #908CE9 #C2C0F3
Accessibility & contrast
On white
5.28
#5F59DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#5F59DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F59DF
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F59DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F59DF | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#0D7A93
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5f59df; /* rgb */ color: rgb(95, 89, 223); /* oklch */ color: oklch(54.7% 0.198 279.6);
Tailwind
colors: {
custom: {
50: '#9888ea',
500: '#5f59df',
950: '#000000',
},
}SCSS
$custom: #5f59df; $custom-light: #9888ea; $custom-dark: #000000;
JSON
{
"hex": "#5f59df",
"rgb": {
"r": 95,
"g": 89,
"b": 223
},
"hsl": {
"h": 242.687,
"s": 67.677,
"l": 61.176
},
"oklch": {
"l": 0.54663,
"c": 0.19764,
"h": 279.6
},
"luminance": 0.14905
}Semantic roles & 50–950 ramp
primary
#5F59DF
secondary
#E1E3B1
accent
#D016C7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B16
muted
#7F7C84