#666AE3#666AE3
#666AE3 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.4% C 0.180 H 277.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #666AE3 |
|---|---|
| RGB | rgb(102, 106, 227) |
| HSL | hsl(238, 69%, 65%) |
| HSV | hsv(238, 55%, 89%) |
| CMYK | cmyk(55.1%, 53.3%, 0%, 11%) |
| CIE-LAB | lab(50.31, 32.38, -62.28) |
| CIE-LCH | lch(50.31, 70.20, 297.47°) |
| OKLab | oklab(58.44% 0.0245 -0.1782) |
| OKLCH | oklch(58.44% 0.18 277.8) |
| XYZ | xyz(24.4943, 18.6773, 74.9725) |
| Luminance | 0.1868 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.13
Dark Periwinkle
#665FD1
ΔE00 4.49
Cornflower Blue
#5170D7
ΔE00 5.03
Royal Blue
#4169E1
ΔE00 5.46
Cornflower
#6A79F7
ΔE00 5.59
Light Indigo
#6D5ACF
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#666AE3 #E3DF66
analogous
#66A9E3 #666AE3 #A166E3
triadic
#666AE3 #E3666A #6AE366
tetradic
#666AE3 #E366A9 #E3DF66 #66E3A1
square
#666AE3 #E366A9 #E3DF66 #66E3A1
split-complementary
#666AE3 #E3A166 #A9E366
monochromatic
#2025AF #3238DA #666AE3 #9A9CEC #CDCFF6
Accessibility & contrast
On white
4.43
#666AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#666AE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #666AE3
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##666AE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##666AE3 | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#207DE7
Deuteranopia (green-blind)
#0073E0
Tritanopia (blue-blind)
#25869C
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #666ae3; /* rgb */ color: rgb(102, 106, 227); /* oklch */ color: oklch(58.4% 0.180 277.8);
Tailwind
colors: {
custom: {
50: '#9b94ec',
500: '#666ae3',
950: '#000000',
},
}SCSS
$custom: #666ae3; $custom-light: #9b94ec; $custom-dark: #000000;
JSON
{
"hex": "#666ae3",
"rgb": {
"r": 102,
"g": 106,
"b": 227
},
"hsl": {
"h": 238.08,
"s": 69.061,
"l": 64.51
},
"oklch": {
"l": 0.58443,
"c": 0.17993,
"h": 277.8
},
"luminance": 0.18679
}Semantic roles & 50–950 ramp
primary
#666AE3
secondary
#E8E7BD
accent
#CB14D1
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D16
muted
#7F7E84