#666CC2#666CC2
#666CC2 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.7% C 0.131 H 278.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #666CC2 |
|---|---|
| RGB | rgb(102, 108, 194) |
| HSL | hsl(236, 43%, 58%) |
| HSV | hsv(236, 47%, 76%) |
| CMYK | cmyk(47.4%, 44.3%, 0%, 23.9%) |
| CIE-LAB | lab(48.81, 20.85, -45.88) |
| CIE-LCH | lch(48.81, 50.40, 294.44°) |
| OKLab | oklab(56.67% 0.019 -0.13) |
| OKLCH | oklch(56.67% 0.131 278.3) |
| XYZ | xyz(20.5767, 17.4438, 53.3112) |
| Luminance | 0.1744 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 5.07
Cornflower Blue
#5170D7
ΔE00 5.33
Slate Blue
#6A5ACD
ΔE00 6.55
Iris
#6258C4
ΔE00 6.74
Royal Blue
#4169E1
ΔE00 6.76
Light Indigo
#6D5ACF
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#666CC2 #C2BC66
analogous
#669AC2 #666CC2 #8E66C2
triadic
#666CC2 #C2666C #6CC266
tetradic
#666CC2 #C2669A #C2BC66 #66C28E
square
#666CC2 #C2669A #C2BC66 #66C28E
split-complementary
#666CC2 #C28E66 #9AC266
monochromatic
#31367C #434AA8 #666CC2 #9296D3 #BEC0E5
Accessibility & contrast
On white
4.68
#666CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#666CC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #666CC2
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##666CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##666CC2 | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A78C5
Deuteranopia (green-blind)
#4271C0
Tritanopia (blue-blind)
#457E8D
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #666cc2; /* rgb */ color: rgb(102, 108, 194); /* oklch */ color: oklch(56.7% 0.131 278.3);
Tailwind
colors: {
custom: {
50: '#9796d5',
500: '#666cc2',
950: '#000000',
},
}SCSS
$custom: #666cc2; $custom-light: #9796d5; $custom-dark: #000000;
JSON
{
"hex": "#666cc2",
"rgb": {
"r": 102,
"g": 108,
"b": 194
},
"hsl": {
"h": 236.087,
"s": 42.991,
"l": 58.039
},
"oklch": {
"l": 0.56674,
"c": 0.13143,
"h": 278.3
},
"luminance": 0.17445
}Semantic roles & 50–950 ramp
primary
#666CC2
secondary
#D4D2B0
accent
#CB55D3
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0E0D14
muted
#7E7E83