#5A66E5#5A66E5
#5A66E5 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.1% C 0.190 H 274.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #5A66E5 |
|---|---|
| RGB | rgb(90, 102, 229) |
| HSL | hsl(235, 73%, 63%) |
| HSV | hsv(235, 61%, 90%) |
| CMYK | cmyk(60.7%, 55.5%, 0%, 10.2%) |
| CIE-LAB | lab(48.68, 33.28, -66.09) |
| CIE-LCH | lch(48.68, 74.00, 296.73°) |
| OKLab | oklab(57.06% 0.0152 -0.1898) |
| OKLCH | oklch(57.06% 0.19 274.6) |
| XYZ | xyz(23.1060, 17.3317, 76.2413) |
| Luminance | 0.1733 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.98
Dark Periwinkle
#665FD1
ΔE00 4.24
Cornflower Blue
#5170D7
ΔE00 4.64
Warm Blue
#4B57DB
ΔE00 5.21
Mediumslateblue
#7B68EE
ΔE00 5.69
Azul
#1D5DEC
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A66E5 #E5D95A
analogous
#5AACE5 #5A66E5 #935AE5
triadic
#5A66E5 #E55A66 #66E55A
tetradic
#5A66E5 #E55AAC #E5D95A #5AE593
square
#5A66E5 #E55AAC #E5D95A #5AE593
split-complementary
#5A66E5 #E5935A #ACE55A
monochromatic
#1B27AA #2535DD #5A66E5 #8F97ED #C4C8F6
Accessibility & contrast
On white
4.70
#5A66E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#5A66E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A66E5
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A66E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A66E5 | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#006EE2
Tritanopia (blue-blind)
#00849C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5a66e5; /* rgb */ color: rgb(90, 102, 229); /* oklch */ color: oklch(57.1% 0.190 274.6);
Tailwind
colors: {
custom: {
50: '#9591ee',
500: '#5a66e5',
950: '#000000',
},
}SCSS
$custom: #5a66e5; $custom-light: #9591ee; $custom-dark: #000000;
JSON
{
"hex": "#5a66e5",
"rgb": {
"r": 90,
"g": 102,
"b": 229
},
"hsl": {
"h": 234.82,
"s": 72.775,
"l": 62.549
},
"oklch": {
"l": 0.57062,
"c": 0.19039,
"h": 274.6
},
"luminance": 0.17334
}Semantic roles & 50–950 ramp
primary
#5A66E5
secondary
#E7E2B4
accent
#C411D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84