#5D7AE7#5D7AE7
#5D7AE7 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.2% C 0.167 H 269.7°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5D7AE7 |
|---|---|
| RGB | rgb(93, 122, 231) |
| HSL | hsl(227, 74%, 64%) |
| HSV | hsv(227, 60%, 91%) |
| CMYK | cmyk(59.7%, 47.2%, 0%, 9.4%) |
| CIE-LAB | lab(54.04, 22.23, -58.55) |
| CIE-LCH | lch(54.04, 62.63, 290.79°) |
| OKLab | oklab(61.2% -0.0009 -0.1673) |
| OKLCH | oklch(61.2% 0.167 269.7) |
| XYZ | xyz(25.8927, 22.0136, 78.4704) |
| Luminance | 0.2202 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.30
Lightish Blue
#3D7AFD
ΔE00 3.84
Cornflower Blue
#5170D7
ΔE00 4.24
Soft Blue
#6488EA
ΔE00 4.56
Dodger Blue
#3E82FC
ΔE00 5.32
Clear Blue
#247AFD
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D7AE7 #E7CA5D
analogous
#5DBFE7 #5D7AE7 #855DE7
triadic
#5D7AE7 #E75D7A #7AE75D
tetradic
#5D7AE7 #E75DBF #E7CA5D #5DE785
square
#5D7AE7 #E75DBF #E7CA5D #5DE785
split-complementary
#5D7AE7 #E7855D #BFE75D
monochromatic
#1A39B0 #284EDF #5D7AE7 #92A6EF #C8D2F7
Accessibility & contrast
On white
3.89
#5D7AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#5D7AE7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5D7AE7
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D7AE7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D7AE7 | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4488EB
Deuteranopia (green-blind)
#2C7BE5
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5d7ae7; /* rgb */ color: rgb(93, 122, 231); /* oklch */ color: oklch(61.2% 0.167 269.7);
Tailwind
colors: {
custom: {
50: '#96a0ef',
500: '#5d7ae7',
950: '#000000',
},
}SCSS
$custom: #5d7ae7; $custom-light: #96a0ef; $custom-dark: #000000;
JSON
{
"hex": "#5d7ae7",
"rgb": {
"r": 93,
"g": 122,
"b": 231
},
"hsl": {
"h": 227.391,
"s": 74.194,
"l": 63.529
},
"oklch": {
"l": 0.61196,
"c": 0.16732,
"h": 269.7
},
"luminance": 0.22016
}Semantic roles & 50–950 ramp
primary
#5D7AE7
secondary
#E8DEB7
accent
#AC0FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84