#666AF6#666AF6
#666AF6 is a mid, highly saturated blue. Relative luminance 0.198; OKLCH L 59.8% C 0.205 H 277.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #666AF6 |
|---|---|
| RGB | rgb(102, 106, 246) |
| HSL | hsl(238, 89%, 68%) |
| HSV | hsv(238, 59%, 96%) |
| CMYK | cmyk(58.5%, 56.9%, 0%, 3.5%) |
| CIE-LAB | lab(51.59, 38.40, -70.85) |
| CIE-LCH | lch(51.59, 80.58, 298.46°) |
| OKLab | oklab(59.81% 0.025 -0.2034) |
| OKLCH | oklch(59.81% 0.205 277) |
| XYZ | xyz(27.2627, 19.7846, 89.5531) |
| Luminance | 0.1979 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.66
Cornflower
#6A79F7
ΔE00 4.71
Cornflower Blue
#5170D7
ΔE00 6.31
Dark Periwinkle
#665FD1
ΔE00 6.34
Royal Blue
#4169E1
ΔE00 6.39
Bright Blue
#0165FC
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#666AF6 #F6F266
analogous
#66B2F6 #666AF6 #AA66F6
triadic
#666AF6 #F6666A #6AF666
tetradic
#666AF6 #F666B2 #F6F266 #66F6AA
square
#666AF6 #F666B2 #F6F266 #66F6AA
split-complementary
#666AF6 #F6AA66 #B2F666
monochromatic
#0D12D5 #2C32F3 #666AF6 #A0A2F9 #DADBFD
Accessibility & contrast
On white
4.24
#666AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#666AF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #666AF6
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##666AF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##666AF6 | 1.00 | 4.24 | 4.96 | 4.96 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0081FB
Deuteranopia (green-blind)
#0075F3
Tritanopia (blue-blind)
#008BA6
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #666af6; /* rgb */ color: rgb(102, 106, 246); /* oklch */ color: oklch(59.8% 0.205 277.0);
Tailwind
colors: {
custom: {
50: '#9e94fa',
500: '#666af6',
950: '#000000',
},
}SCSS
$custom: #666af6; $custom-light: #9e94fa; $custom-dark: #000000;
JSON
{
"hex": "#666af6",
"rgb": {
"r": 102,
"g": 106,
"b": 246
},
"hsl": {
"h": 238.333,
"s": 88.889,
"l": 68.235
},
"oklch": {
"l": 0.59808,
"c": 0.20497,
"h": 277
},
"luminance": 0.19787
}Semantic roles & 50–950 ramp
primary
#666AF6
secondary
#F2F1C6
accent
#DF00E6
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D17
muted
#7F7E85