#5D59C7#5D59C7
#5D59C7 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.7% C 0.166 H 280.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5D59C7 |
|---|---|
| RGB | rgb(93, 89, 199) |
| HSL | hsl(242, 50%, 56%) |
| HSV | hsv(242, 55%, 78%) |
| CMYK | cmyk(53.3%, 55.3%, 0%, 22%) |
| CIE-LAB | lab(43.65, 32.11, -57.09) |
| CIE-LCH | lch(43.65, 65.50, 299.35°) |
| OKLab | oklab(52.71% 0.0308 -0.1633) |
| OKLCH | oklch(52.71% 0.166 280.7) |
| XYZ | xyz(18.3922, 13.5943, 55.6766) |
| Luminance | 0.1359 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.14
Slate Blue
#6A5ACD
ΔE00 2.50
Dark Periwinkle
#665FD1
ΔE00 2.71
Light Indigo
#6D5ACF
ΔE00 3.12
Warm Blue
#4B57DB
ΔE00 3.61
Bluey Purple
#6241C7
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D59C7 #C3C759
analogous
#598CC7 #5D59C7 #9459C7
triadic
#5D59C7 #C75D59 #59C75D
tetradic
#5D59C7 #C7598C #C3C759 #59C794
square
#5D59C7 #C7598C #C3C759 #59C794
split-complementary
#5D59C7 #C79459 #8CC759
monochromatic
#2D2A7C #3D39AA #5D59C7 #8A87D6 #B6B5E6
Accessibility & contrast
On white
5.65
#5D59C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#5D59C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D59C7
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D59C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D59C7 | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F6BCB
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#2E7287
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5d59c7; /* rgb */ color: rgb(93, 89, 199); /* oklch */ color: oklch(52.7% 0.166 280.7);
Tailwind
colors: {
custom: {
50: '#9388d9',
500: '#5d59c7',
950: '#000000',
},
}SCSS
$custom: #5d59c7; $custom-light: #9388d9; $custom-dark: #000000;
JSON
{
"hex": "#5d59c7",
"rgb": {
"r": 93,
"g": 89,
"b": 199
},
"hsl": {
"h": 242.182,
"s": 49.55,
"l": 56.471
},
"oklch": {
"l": 0.52712,
"c": 0.16623,
"h": 280.7
},
"luminance": 0.13595
}Semantic roles & 50–950 ramp
primary
#5D59C7
secondary
#D3D4A7
accent
#D94FD4
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B15
muted
#7E7C83