#5A66DC#5A66DC
#5A66DC is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.4% C 0.178 H 274.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5A66DC |
|---|---|
| RGB | rgb(90, 102, 220) |
| HSL | hsl(234, 65%, 61%) |
| HSV | hsv(234, 59%, 86%) |
| CMYK | cmyk(59.1%, 53.6%, 0%, 13.7%) |
| CIE-LAB | lab(48.06, 30.32, -62.00) |
| CIE-LCH | lch(48.06, 69.01, 296.06°) |
| OKLab | oklab(56.41% 0.0149 -0.1777) |
| OKLCH | oklch(56.41% 0.178 274.8) |
| XYZ | xyz(21.8819, 16.8420, 69.7940) |
| Luminance | 0.1684 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.70
Royal Blue
#4169E1
ΔE00 3.81
Cornflower Blue
#5170D7
ΔE00 4.29
Warm Blue
#4B57DB
ΔE00 4.91
Slate Blue
#6A5ACD
ΔE00 5.62
Azul
#1D5DEC
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A66DC #DCD05A
analogous
#5AA7DC #5A66DC #8F5ADC
triadic
#5A66DC #DC5A66 #66DC5A
tetradic
#5A66DC #DC5AA7 #DCD05A #5ADC8F
square
#5A66DC #DC5AA7 #DCD05A #5ADC8F
split-complementary
#5A66DC #DC8F5A #A7DC5A
monochromatic
#212C9B #2C3ACD #5A66DC #8C95E7 #BFC4F1
Accessibility & contrast
On white
4.81
#5A66DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#5A66DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A66DC
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A66DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A66DC | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1778E0
Deuteranopia (green-blind)
#006DDA
Tritanopia (blue-blind)
#008197
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5a66dc; /* rgb */ color: rgb(90, 102, 220); /* oklch */ color: oklch(56.4% 0.178 274.8);
Tailwind
colors: {
custom: {
50: '#9491e8',
500: '#5a66dc',
950: '#000000',
},
}SCSS
$custom: #5a66dc; $custom-light: #9491e8; $custom-dark: #000000;
JSON
{
"hex": "#5a66dc",
"rgb": {
"r": 90,
"g": 102,
"b": 220
},
"hsl": {
"h": 234.462,
"s": 65,
"l": 60.784
},
"oklch": {
"l": 0.56407,
"c": 0.17836,
"h": 274.8
},
"luminance": 0.16844
}Semantic roles & 50–950 ramp
primary
#5A66DC
secondary
#E2DDB0
accent
#BC19CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84