#666EE2#666EE2
#666EE2 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.1% C 0.173 H 276.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #666EE2 |
|---|---|
| RGB | rgb(102, 110, 226) |
| HSL | hsl(236, 68%, 64%) |
| HSV | hsv(236, 55%, 89%) |
| CMYK | cmyk(54.9%, 51.3%, 0%, 11.4%) |
| CIE-LAB | lab(51.23, 29.63, -60.24) |
| CIE-LCH | lch(51.23, 67.13, 296.20°) |
| OKLab | oklab(59.11% 0.0203 -0.1722) |
| OKLCH | oklch(59.11% 0.173 276.7) |
| XYZ | xyz(24.7785, 19.4660, 74.3884) |
| Luminance | 0.1947 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.32
Cornflower
#6A79F7
ΔE00 4.55
Mediumslateblue
#7B68EE
ΔE00 4.74
Royal Blue
#4169E1
ΔE00 5.38
Dark Periwinkle
#665FD1
ΔE00 5.61
Slate Blue
#6A5ACD
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#666EE2 #E2DA66
analogous
#66ACE2 #666EE2 #9C66E2
triadic
#666EE2 #E2666E #6EE266
tetradic
#666EE2 #E266AC #E2DA66 #66E29C
square
#666EE2 #E266AC #E2DA66 #66E29C
split-complementary
#666EE2 #E29C66 #ACE266
monochromatic
#212AAD #333DD8 #666EE2 #999FEC #CDD0F6
Accessibility & contrast
On white
4.29
#666EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#666EE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #666EE2
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##666EE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##666EE2 | 1.00 | 4.29 | 4.89 | 4.89 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F7FE6
Deuteranopia (green-blind)
#1975E0
Tritanopia (blue-blind)
#25889E
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #666ee2; /* rgb */ color: rgb(102, 110, 226); /* oklch */ color: oklch(59.1% 0.173 276.7);
Tailwind
colors: {
custom: {
50: '#9b97ec',
500: '#666ee2',
950: '#000000',
},
}SCSS
$custom: #666ee2; $custom-light: #9b97ec; $custom-dark: #000000;
JSON
{
"hex": "#666ee2",
"rgb": {
"r": 102,
"g": 110,
"b": 226
},
"hsl": {
"h": 236.129,
"s": 68.132,
"l": 64.314
},
"oklch": {
"l": 0.59113,
"c": 0.17339,
"h": 276.7
},
"luminance": 0.19468
}Semantic roles & 50–950 ramp
primary
#666EE2
secondary
#E7E5BC
accent
#C415D0
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84