#5E59DF#5E59DF
#5E59DF is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.6% C 0.198 H 279.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #5E59DF |
|---|---|
| RGB | rgb(94, 89, 223) |
| HSL | hsl(242, 68%, 61%) |
| HSV | hsv(242, 60%, 87%) |
| CMYK | cmyk(57.8%, 60.1%, 0%, 12.5%) |
| CIE-LAB | lab(45.43, 39.89, -67.95) |
| CIE-LCH | lch(45.43, 78.79, 300.41°) |
| OKLab | oklab(54.59% 0.0318 -0.1953) |
| OKLCH | oklch(54.59% 0.198 279.2) |
| XYZ | xyz(21.5035, 14.8506, 71.5311) |
| Luminance | 0.1485 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.76
Warm Blue
#4B57DB
ΔE00 2.82
Slate Blue
#6A5ACD
ΔE00 3.17
Light Indigo
#6D5ACF
ΔE00 3.33
Iris
#6258C4
ΔE00 3.88
Electric Blue
#0652FF
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E59DF #DADF59
analogous
#5997DF #5E59DF #A159DF
triadic
#5E59DF #DF5E59 #59DF5E
tetradic
#5E59DF #DF5997 #DADF59 #59DFA1
square
#5E59DF #DF5997 #DADF59 #59DFA1
split-complementary
#5E59DF #DFA159 #97DF59
monochromatic
#231F9F #2F29D2 #5E59DF #908CE9 #C2C0F3
Accessibility & contrast
On white
5.29
#5E59DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#5E59DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E59DF
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E59DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E59DF | 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)
#0071E3
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#037A93
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5e59df; /* rgb */ color: rgb(94, 89, 223); /* oklch */ color: oklch(54.6% 0.198 279.2);
Tailwind
colors: {
custom: {
50: '#9788ea',
500: '#5e59df',
950: '#000000',
},
}SCSS
$custom: #5e59df; $custom-light: #9788ea; $custom-dark: #000000;
JSON
{
"hex": "#5e59df",
"rgb": {
"r": 94,
"g": 89,
"b": 223
},
"hsl": {
"h": 242.239,
"s": 67.677,
"l": 61.176
},
"oklch": {
"l": 0.5459,
"c": 0.19783,
"h": 279.2
},
"luminance": 0.14852
}Semantic roles & 50–950 ramp
primary
#5E59DF
secondary
#E1E3B1
accent
#D016C9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84