#5A66CC#5A66CC
#5A66CC is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.3% C 0.156 H 275.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #5A66CC |
|---|---|
| RGB | rgb(90, 102, 204) |
| HSL | hsl(234, 53%, 58%) |
| HSV | hsv(234, 56%, 80%) |
| CMYK | cmyk(55.9%, 50%, 0%, 20%) |
| CIE-LAB | lab(47.02, 25.08, -54.55) |
| CIE-LCH | lch(47.02, 60.04, 294.69°) |
| OKLab | oklab(55.29% 0.0137 -0.1558) |
| OKLCH | oklch(55.29% 0.156 275) |
| XYZ | xyz(19.8634, 16.0346, 59.1633) |
| Luminance | 0.1604 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.68
Cornflower Blue
#5170D7
ΔE00 4.44
Royal Blue
#4169E1
ΔE00 4.45
Warm Blue
#4B57DB
ΔE00 5.23
Iris
#6258C4
ΔE00 5.37
Slate Blue
#6A5ACD
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A66CC #CCC05A
analogous
#5A9FCC #5A66CC #875ACC
triadic
#5A66CC #CC5A66 #66CC5A
tetradic
#5A66CC #CC5A9F #CCC05A #5ACC87
square
#5A66CC #CC5A9F #CCC05A #5ACC87
split-complementary
#5A66CC #CC875A #9FCC5A
monochromatic
#293283 #3744B2 #5A66CC #8991DA #B7BDE9
Accessibility & contrast
On white
4.99
#5A66CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#5A66CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A66CC
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A66CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A66CC | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3274D0
Deuteranopia (green-blind)
#206BCA
Tritanopia (blue-blind)
#1A7D8F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5a66cc; /* rgb */ color: rgb(90, 102, 204); /* oklch */ color: oklch(55.3% 0.156 275.0);
Tailwind
colors: {
custom: {
50: '#9191dc',
500: '#5a66cc',
950: '#000000',
},
}SCSS
$custom: #5a66cc; $custom-light: #9191dc; $custom-dark: #000000;
JSON
{
"hex": "#5a66cc",
"rgb": {
"r": 90,
"g": 102,
"b": 204
},
"hsl": {
"h": 233.684,
"s": 52.778,
"l": 57.647
},
"oklch": {
"l": 0.55292,
"c": 0.15643,
"h": 275
},
"luminance": 0.16036
}Semantic roles & 50–950 ramp
primary
#5A66CC
secondary
#D8D3AA
accent
#CD4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83