#666DC2#666DC2
#666DC2 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.9% C 0.130 H 277.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #666DC2 |
|---|---|
| RGB | rgb(102, 109, 194) |
| HSL | hsl(235, 43%, 58%) |
| HSV | hsv(235, 47%, 76%) |
| CMYK | cmyk(47.4%, 43.8%, 0%, 23.9%) |
| CIE-LAB | lab(49.08, 20.24, -45.47) |
| CIE-LCH | lch(49.08, 49.77, 294.00°) |
| OKLab | oklab(56.87% 0.0178 -0.1288) |
| OKLCH | oklch(56.87% 0.13 277.9) |
| XYZ | xyz(20.6827, 17.6560, 53.3466) |
| Luminance | 0.1766 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 5.17
Dark Periwinkle
#665FD1
ΔE00 5.39
Royal Blue
#4169E1
ΔE00 6.74
Slate Blue
#6A5ACD
ΔE00 6.90
Iris
#6258C4
ΔE00 7.10
Light Indigo
#6D5ACF
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#666DC2 #C2BB66
analogous
#669BC2 #666DC2 #8D66C2
triadic
#666DC2 #C2666D #6DC266
tetradic
#666DC2 #C2669B #C2BB66 #66C28D
square
#666DC2 #C2669B #C2BB66 #66C28D
split-complementary
#666DC2 #C28D66 #9BC266
monochromatic
#31377C #434BA8 #666DC2 #9297D3 #BEC1E5
Accessibility & contrast
On white
4.63
#666DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#666DC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #666DC2
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##666DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##666DC2 | 1.00 | 4.63 | 4.53 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B78C5
Deuteranopia (green-blind)
#4471C0
Tritanopia (blue-blind)
#447F8E
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #666dc2; /* rgb */ color: rgb(102, 109, 194); /* oklch */ color: oklch(56.9% 0.130 277.9);
Tailwind
colors: {
custom: {
50: '#9796d5',
500: '#666dc2',
950: '#000000',
},
}SCSS
$custom: #666dc2; $custom-light: #9796d5; $custom-dark: #000000;
JSON
{
"hex": "#666dc2",
"rgb": {
"r": 102,
"g": 109,
"b": 194
},
"hsl": {
"h": 235.435,
"s": 42.991,
"l": 58.039
},
"oklch": {
"l": 0.56873,
"c": 0.13005,
"h": 277.9
},
"luminance": 0.17657
}Semantic roles & 50–950 ramp
primary
#666DC2
secondary
#D4D1B0
accent
#C955D3
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83