#5D6FE1#5D6FE1
#5D6FE1 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.7% C 0.173 H 273.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5D6FE1 |
|---|---|
| RGB | rgb(93, 111, 225) |
| HSL | hsl(232, 69%, 62%) |
| HSV | hsv(232, 59%, 88%) |
| CMYK | cmyk(58.7%, 50.7%, 0%, 11.8%) |
| CIE-LAB | lab(50.84, 26.98, -60.33) |
| CIE-LCH | lch(50.84, 66.09, 294.10°) |
| OKLab | oklab(58.65% 0.0095 -0.1727) |
| OKLCH | oklch(58.65% 0.173 273.1) |
| XYZ | xyz(23.7848, 19.1304, 73.6587) |
| Luminance | 0.1913 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.71
Royal Blue
#4169E1
ΔE00 3.99
Cornflower
#6A79F7
ΔE00 4.72
Dark Periwinkle
#665FD1
ΔE00 6.35
Mediumslateblue
#7B68EE
ΔE00 6.36
Lightish Blue
#3D7AFD
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D6FE1 #E1CF5D
analogous
#5DB1E1 #5D6FE1 #8D5DE1
triadic
#5D6FE1 #E15D6F #6FE15D
tetradic
#5D6FE1 #E15DB1 #E1CF5D #5DE18D
square
#5D6FE1 #E15DB1 #E1CF5D #5DE18D
split-complementary
#5D6FE1 #E18D5D #B1E15D
monochromatic
#1F31A5 #2941D7 #5D6FE1 #919DEB #C4CBF4
Accessibility & contrast
On white
4.35
#5D6FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#5D6FE1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5D6FE1
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D6FE1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D6FE1 | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#307FE5
Deuteranopia (green-blind)
#1074DF
Tritanopia (blue-blind)
#00899D
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #5d6fe1; /* rgb */ color: rgb(93, 111, 225); /* oklch */ color: oklch(58.7% 0.173 273.1);
Tailwind
colors: {
custom: {
50: '#9698eb',
500: '#5d6fe1',
950: '#000000',
},
}SCSS
$custom: #5d6fe1; $custom-light: #9698eb; $custom-dark: #000000;
JSON
{
"hex": "#5d6fe1",
"rgb": {
"r": 93,
"g": 111,
"b": 225
},
"hsl": {
"h": 231.818,
"s": 68.75,
"l": 62.353
},
"oklch": {
"l": 0.5865,
"c": 0.17293,
"h": 273.1
},
"luminance": 0.19132
}Semantic roles & 50–950 ramp
primary
#5D6FE1
secondary
#E5DEB5
accent
#B715D1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84