#666CF2#666CF2
#666CF2 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.9% C 0.197 H 276.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #666CF2 |
|---|---|
| RGB | rgb(102, 108, 242) |
| HSL | hsl(237, 84%, 67%) |
| HSV | hsv(237, 58%, 95%) |
| CMYK | cmyk(57.9%, 55.4%, 0%, 5.1%) |
| CIE-LAB | lab(51.79, 35.93, -68.30) |
| CIE-LCH | lch(51.79, 77.17, 297.75°) |
| OKLab | oklab(59.87% 0.0231 -0.1959) |
| OKLCH | oklch(59.87% 0.197 276.7) |
| XYZ | xyz(26.8639, 19.9587, 86.4240) |
| Luminance | 0.1996 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.89
Cornflower
#6A79F7
ΔE00 4.18
Cornflower Blue
#5170D7
ΔE00 5.72
Royal Blue
#4169E1
ΔE00 6.09
Dark Periwinkle
#665FD1
ΔE00 6.36
Bright Blue
#0165FC
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#666CF2 #F2EC66
analogous
#66B2F2 #666CF2 #A666F2
triadic
#666CF2 #F2666C #6CF266
tetradic
#666CF2 #F266B2 #F2EC66 #66F2A6
square
#666CF2 #F266B2 #F2EC66 #66F2A6
split-complementary
#666CF2 #F2A666 #B2F266
monochromatic
#1119CC #2E36ED #666CF2 #9EA2F7 #D7D8FC
Accessibility & contrast
On white
4.21
#666CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#666CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #666CF2
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##666CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##666CF2 | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#008CA5
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #666cf2; /* rgb */ color: rgb(102, 108, 242); /* oklch */ color: oklch(59.9% 0.197 276.7);
Tailwind
colors: {
custom: {
50: '#9d96f7',
500: '#666cf2',
950: '#000000',
},
}SCSS
$custom: #666cf2; $custom-light: #9d96f7; $custom-dark: #000000;
JSON
{
"hex": "#666cf2",
"rgb": {
"r": 102,
"g": 108,
"b": 242
},
"hsl": {
"h": 237.429,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.59868,
"c": 0.19727,
"h": 276.7
},
"luminance": 0.19961
}Semantic roles & 50–950 ramp
primary
#666CF2
secondary
#F0EEC4
accent
#D705E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85