#666AF0#666AF0
#666AF0 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.4% C 0.197 H 277.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #666AF0 |
|---|---|
| RGB | rgb(102, 106, 240) |
| HSL | hsl(238, 82%, 67%) |
| HSV | hsv(238, 58%, 94%) |
| CMYK | cmyk(57.5%, 55.8%, 0%, 5.9%) |
| CIE-LAB | lab(51.18, 36.49, -68.17) |
| CIE-LCH | lch(51.18, 77.33, 298.16°) |
| OKLab | oklab(59.37% 0.0249 -0.1956) |
| OKLCH | oklch(59.37% 0.197 277.3) |
| XYZ | xyz(26.3567, 19.4222, 84.7812) |
| Luminance | 0.1942 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.64
Cornflower
#6A79F7
ΔE00 4.88
Dark Periwinkle
#665FD1
ΔE00 5.71
Cornflower Blue
#5170D7
ΔE00 5.83
Royal Blue
#4169E1
ΔE00 6.00
Light Indigo
#6D5ACF
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#666AF0 #F0EC66
analogous
#66AFF0 #666AF0 #A766F0
triadic
#666AF0 #F0666A #6AF066
tetradic
#666AF0 #F066AF #F0EC66 #66F0A7
square
#666AF0 #F066AF #F0EC66 #66F0A7
split-complementary
#666AF0 #F0A766 #AFF066
monochromatic
#1419C8 #2E34EB #666AF0 #9EA0F5 #D5D7FB
Accessibility & contrast
On white
4.30
#666AF0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#666AF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #666AF0
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##666AF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##666AF0 | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080F5
Deuteranopia (green-blind)
#0074ED
Tritanopia (blue-blind)
#008AA3
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #666af0; /* rgb */ color: rgb(102, 106, 240); /* oklch */ color: oklch(59.4% 0.197 277.3);
Tailwind
colors: {
custom: {
50: '#9d94f6',
500: '#666af0',
950: '#000000',
},
}SCSS
$custom: #666af0; $custom-light: #9d94f6; $custom-dark: #000000;
JSON
{
"hex": "#666af0",
"rgb": {
"r": 102,
"g": 106,
"b": 240
},
"hsl": {
"h": 238.261,
"s": 82.143,
"l": 67.059
},
"oklch": {
"l": 0.59368,
"c": 0.19715,
"h": 277.3
},
"luminance": 0.19424
}Semantic roles & 50–950 ramp
primary
#666AF0
secondary
#EFEEC3
accent
#D807DF
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85