#666AF2#666AF2
#666AF2 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.5% C 0.200 H 277.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #666AF2 |
|---|---|
| RGB | rgb(102, 106, 242) |
| HSL | hsl(238, 84%, 67%) |
| HSV | hsv(238, 58%, 95%) |
| CMYK | cmyk(57.9%, 56.2%, 0%, 5.1%) |
| CIE-LAB | lab(51.31, 37.13, -69.07) |
| CIE-LCH | lch(51.31, 78.41, 298.26°) |
| OKLab | oklab(59.51% 0.025 -0.1982) |
| OKLCH | oklch(59.51% 0.2 277.2) |
| XYZ | xyz(26.6554, 19.5417, 86.3545) |
| Luminance | 0.1954 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.63
Cornflower
#6A79F7
ΔE00 4.81
Dark Periwinkle
#665FD1
ΔE00 5.91
Cornflower Blue
#5170D7
ΔE00 5.99
Royal Blue
#4169E1
ΔE00 6.12
Bright Blue
#0165FC
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#666AF2 #F2EE66
analogous
#66B0F2 #666AF2 #A866F2
triadic
#666AF2 #F2666A #6AF266
tetradic
#666AF2 #F266B0 #F2EE66 #66F2A8
square
#666AF2 #F266B0 #F2EE66 #66F2A8
split-complementary
#666AF2 #F2A866 #B0F266
monochromatic
#1117CC #2E33ED #666AF2 #9EA1F7 #D7D8FC
Accessibility & contrast
On white
4.28
#666AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#666AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #666AF2
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##666AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##666AF2 | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#0074EF
Tritanopia (blue-blind)
#008AA4
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #666af2; /* rgb */ color: rgb(102, 106, 242); /* oklch */ color: oklch(59.5% 0.200 277.2);
Tailwind
colors: {
custom: {
50: '#9d94f7',
500: '#666af2',
950: '#000000',
},
}SCSS
$custom: #666af2; $custom-light: #9d94f7; $custom-dark: #000000;
JSON
{
"hex": "#666af2",
"rgb": {
"r": 102,
"g": 106,
"b": 242
},
"hsl": {
"h": 238.286,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.59514,
"c": 0.19977,
"h": 277.2
},
"luminance": 0.19544
}Semantic roles & 50–950 ramp
primary
#666AF2
secondary
#F0EFC4
accent
#DB05E1
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85