#5D7AE8#5D7AE8
#5D7AE8 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.3% C 0.169 H 269.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #5D7AE8 |
|---|---|
| RGB | rgb(93, 122, 232) |
| HSL | hsl(227, 75%, 64%) |
| HSV | hsv(227, 60%, 91%) |
| CMYK | cmyk(59.9%, 47.4%, 0%, 9%) |
| CIE-LAB | lab(54.10, 22.56, -59.01) |
| CIE-LCH | lch(54.10, 63.18, 290.92°) |
| OKLab | oklab(61.26% -0.0007 -0.1687) |
| OKLCH | oklch(61.26% 0.169 269.7) |
| XYZ | xyz(26.0343, 22.0703, 79.2163) |
| Luminance | 0.2207 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.20
Lightish Blue
#3D7AFD
ΔE00 3.79
Cornflower Blue
#5170D7
ΔE00 4.31
Soft Blue
#6488EA
ΔE00 4.55
Dodger Blue
#3E82FC
ΔE00 5.29
Clear Blue
#247AFD
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D7AE8 #E8CB5D
analogous
#5DBFE8 #5D7AE8 #855DE8
triadic
#5D7AE8 #E85D7A #7AE85D
tetradic
#5D7AE8 #E85DBF #E8CB5D #5DE885
square
#5D7AE8 #E85DBF #E8CB5D #5DE885
split-complementary
#5D7AE8 #E8855D #BFE85D
monochromatic
#1939B1 #274EE0 #5D7AE8 #93A6F0 #C8D2F7
Accessibility & contrast
On white
3.88
#5D7AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.41
#5D7AE8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5D7AE8
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D7AE8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5D7AE8 | 1.00 | 3.88 | 5.41 | 5.41 |
| #FFFFFF | 3.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4388EC
Deuteranopia (green-blind)
#2B7BE6
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #5d7ae8; /* rgb */ color: rgb(93, 122, 232); /* oklch */ color: oklch(61.3% 0.169 269.7);
Tailwind
colors: {
custom: {
50: '#96a0f0',
500: '#5d7ae8',
950: '#000000',
},
}SCSS
$custom: #5d7ae8; $custom-light: #96a0f0; $custom-dark: #000000;
JSON
{
"hex": "#5d7ae8",
"rgb": {
"r": 93,
"g": 122,
"b": 232
},
"hsl": {
"h": 227.482,
"s": 75.135,
"l": 63.725
},
"oklch": {
"l": 0.61261,
"c": 0.16868,
"h": 269.7
},
"luminance": 0.22072
}Semantic roles & 50–950 ramp
primary
#5D7AE8
secondary
#E9DFB8
accent
#AD0ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85