#5D61E5#5D61E5
#5D61E5 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.4% C 0.196 H 276.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #5D61E5 |
|---|---|
| RGB | rgb(93, 97, 229) |
| HSL | hsl(238, 72%, 63%) |
| HSV | hsv(238, 59%, 90%) |
| CMYK | cmyk(59.4%, 57.6%, 0%, 10.2%) |
| CIE-LAB | lab(47.66, 36.83, -67.72) |
| CIE-LCH | lch(47.66, 77.09, 298.54°) |
| OKLab | oklab(56.36% 0.0231 -0.1945) |
| OKLCH | oklch(56.36% 0.196 276.8) |
| XYZ | xyz(22.9272, 16.5320, 76.0964) |
| Luminance | 0.1653 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.18
Warm Blue
#4B57DB
ΔE00 4.12
Slate Blue
#6A5ACD
ΔE00 4.73
Light Indigo
#6D5ACF
ΔE00 4.82
Royal Blue
#4169E1
ΔE00 5.32
Mediumslateblue
#7B68EE
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D61E5 #E5E15D
analogous
#5DA5E5 #5D61E5 #9D5DE5
triadic
#5D61E5 #E55D61 #61E55D
tetradic
#5D61E5 #E55DA5 #E5E15D #5DE59D
square
#5D61E5 #E55DA5 #E5E15D #5DE59D
split-complementary
#5D61E5 #E59D5D #A5E55D
monochromatic
#1C20AC #282EDD #5D61E5 #9294ED #C6C8F6
Accessibility & contrast
On white
4.88
#5D61E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#5D61E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D61E5
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D61E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D61E5 | 1.00 | 4.88 | 4.31 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#006BE2
Tritanopia (blue-blind)
#00819A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5d61e5; /* rgb */ color: rgb(93, 97, 229); /* oklch */ color: oklch(56.4% 0.196 276.8);
Tailwind
colors: {
custom: {
50: '#978eee',
500: '#5d61e5',
950: '#000000',
},
}SCSS
$custom: #5d61e5; $custom-light: #978eee; $custom-dark: #000000;
JSON
{
"hex": "#5d61e5",
"rgb": {
"r": 93,
"g": 97,
"b": 229
},
"hsl": {
"h": 238.235,
"s": 72.34,
"l": 63.137
},
"oklch": {
"l": 0.56361,
"c": 0.19591,
"h": 276.8
},
"luminance": 0.16534
}Semantic roles & 50–950 ramp
primary
#5D61E5
secondary
#E7E6B7
accent
#CF11D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84