#5D59D8#5D59D8
#5D59D8 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 54.0% C 0.189 H 279.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5D59D8 |
|---|---|
| RGB | rgb(93, 89, 216) |
| HSL | hsl(242, 62%, 60%) |
| HSV | hsv(242, 59%, 85%) |
| CMYK | cmyk(56.9%, 58.8%, 0%, 15.3%) |
| CIE-LAB | lab(44.84, 37.50, -64.92) |
| CIE-LCH | lch(44.84, 74.97, 300.01°) |
| OKLab | oklab(53.98% 0.0308 -0.1864) |
| OKLCH | oklch(53.98% 0.189 279.4) |
| XYZ | xyz(20.4773, 14.4284, 66.6583) |
| Luminance | 0.1443 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.38
Warm Blue
#4B57DB
ΔE00 2.53
Slate Blue
#6A5ACD
ΔE00 2.71
Iris
#6258C4
ΔE00 3.02
Light Indigo
#6D5ACF
ΔE00 3.03
Electric Blue
#0652FF
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D59D8 #D4D859
analogous
#5994D8 #5D59D8 #9D59D8
triadic
#5D59D8 #D85D59 #59D85D
tetradic
#5D59D8 #D85994 #D4D859 #59D89D
square
#5D59D8 #D85994 #D4D859 #59D89D
split-complementary
#5D59D8 #D89D59 #94D859
monochromatic
#262394 #332EC5 #5D59D8 #8D8BE4 #BEBCEF
Accessibility & contrast
On white
5.40
#5D59D8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#5D59D8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D59D8
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D59D8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D59D8 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#147790
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5d59d8; /* rgb */ color: rgb(93, 89, 216); /* oklch */ color: oklch(54.0% 0.189 279.4);
Tailwind
colors: {
custom: {
50: '#9688e5',
500: '#5d59d8',
950: '#000000',
},
}SCSS
$custom: #5d59d8; $custom-light: #9688e5; $custom-dark: #000000;
JSON
{
"hex": "#5d59d8",
"rgb": {
"r": 93,
"g": 89,
"b": 216
},
"hsl": {
"h": 241.89,
"s": 61.951,
"l": 59.804
},
"oklch": {
"l": 0.53977,
"c": 0.18891,
"h": 279.4
},
"luminance": 0.1443
}Semantic roles & 50–950 ramp
primary
#5D59D8
secondary
#DDDFAE
accent
#E543E0
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84