#5E59DC#5E59DC
#5E59DC is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.4% C 0.194 H 279.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #5E59DC |
|---|---|
| RGB | rgb(94, 89, 220) |
| HSL | hsl(242, 65%, 61%) |
| HSV | hsv(242, 60%, 86%) |
| CMYK | cmyk(57.3%, 59.5%, 0%, 13.7%) |
| CIE-LAB | lab(45.21, 38.94, -66.61) |
| CIE-LCH | lch(45.21, 77.15, 300.31°) |
| OKLab | oklab(54.36% 0.0319 -0.1913) |
| OKLCH | oklch(54.36% 0.194 279.5) |
| XYZ | xyz(21.1027, 14.6903, 69.4198) |
| Luminance | 0.1469 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.53
Warm Blue
#4B57DB
ΔE00 2.72
Slate Blue
#6A5ACD
ΔE00 2.90
Light Indigo
#6D5ACF
ΔE00 3.12
Iris
#6258C4
ΔE00 3.50
Electric Blue
#0652FF
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E59DC #D7DC59
analogous
#5995DC #5E59DC #9F59DC
triadic
#5E59DC #DC5E59 #59DC5E
tetradic
#5E59DC #DC5995 #D7DC59 #59DC9F
square
#5E59DC #DC5995 #D7DC59 #59DC9F
split-complementary
#5E59DC #DC9F59 #95DC59
monochromatic
#25209A #312BCD #5E59DC #8F8CE7 #C0BEF1
Accessibility & contrast
On white
5.33
#5E59DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#5E59DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E59DC
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E59DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E59DC | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#0F7992
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5e59dc; /* rgb */ color: rgb(94, 89, 220); /* oklch */ color: oklch(54.4% 0.194 279.5);
Tailwind
colors: {
custom: {
50: '#9788e8',
500: '#5e59dc',
950: '#000000',
},
}SCSS
$custom: #5e59dc; $custom-light: #9788e8; $custom-dark: #000000;
JSON
{
"hex": "#5e59dc",
"rgb": {
"r": 94,
"g": 89,
"b": 220
},
"hsl": {
"h": 242.29,
"s": 65.174,
"l": 60.588
},
"oklch": {
"l": 0.54357,
"c": 0.19394,
"h": 279.5
},
"luminance": 0.14692
}Semantic roles & 50–950 ramp
primary
#5E59DC
secondary
#DFE1AF
accent
#CD18C6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84