#5A66CD#5A66CD
#5A66CD is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.4% C 0.158 H 275.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #5A66CD |
|---|---|
| RGB | rgb(90, 102, 205) |
| HSL | hsl(234, 53%, 58%) |
| HSV | hsv(234, 56%, 80%) |
| CMYK | cmyk(56.1%, 50.2%, 0%, 19.6%) |
| CIE-LAB | lab(47.08, 25.41, -55.02) |
| CIE-LCH | lch(47.08, 60.60, 294.78°) |
| OKLab | oklab(55.36% 0.0138 -0.1572) |
| OKLCH | oklch(55.36% 0.158 275) |
| XYZ | xyz(19.9837, 16.0828, 59.7970) |
| Luminance | 0.1608 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.64
Royal Blue
#4169E1
ΔE00 4.37
Cornflower Blue
#5170D7
ΔE00 4.40
Warm Blue
#4B57DB
ΔE00 5.18
Iris
#6258C4
ΔE00 5.39
Slate Blue
#6A5ACD
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A66CD #CDC15A
analogous
#5A9FCD #5A66CD #875ACD
triadic
#5A66CD #CD5A66 #66CD5A
tetradic
#5A66CD #CD5A9F #CDC15A #5ACD87
square
#5A66CD #CD5A9F #CDC15A #5ACD87
split-complementary
#5A66CD #CD875A #9FCD5A
monochromatic
#283284 #3643B3 #5A66CD #8992DB #B8BDE9
Accessibility & contrast
On white
4.98
#5A66CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#5A66CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A66CD
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A66CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A66CD | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3175D1
Deuteranopia (green-blind)
#1E6BCB
Tritanopia (blue-blind)
#187D90
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #5a66cd; /* rgb */ color: rgb(90, 102, 205); /* oklch */ color: oklch(55.4% 0.158 275.0);
Tailwind
colors: {
custom: {
50: '#9291dd',
500: '#5a66cd',
950: '#000000',
},
}SCSS
$custom: #5a66cd; $custom-light: #9291dd; $custom-dark: #000000;
JSON
{
"hex": "#5a66cd",
"rgb": {
"r": 90,
"g": 102,
"b": 205
},
"hsl": {
"h": 233.739,
"s": 53.488,
"l": 57.843
},
"oklch": {
"l": 0.5536,
"c": 0.15782,
"h": 275
},
"luminance": 0.16084
}Semantic roles & 50–950 ramp
primary
#5A66CD
secondary
#D8D4AA
accent
#CE4BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83