#666FF2#666FF2
#666FF2 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.4% C 0.194 H 276.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #666FF2 |
|---|---|
| RGB | rgb(102, 111, 242) |
| HSL | hsl(236, 84%, 67%) |
| HSV | hsv(236, 58%, 95%) |
| CMYK | cmyk(57.9%, 54.1%, 0%, 5.1%) |
| CIE-LAB | lab(52.51, 34.13, -67.13) |
| CIE-LCH | lch(52.51, 75.31, 296.95°) |
| OKLab | oklab(60.41% 0.0202 -0.1925) |
| OKLCH | oklch(60.41% 0.194 276) |
| XYZ | xyz(27.1858, 20.6025, 86.5313) |
| Luminance | 0.2060 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.25
Mediumslateblue
#7B68EE
ΔE00 4.43
Cornflower Blue
#5170D7
ΔE00 5.44
Royal Blue
#4169E1
ΔE00 6.16
Lightish Blue
#3D7AFD
ΔE00 6.94
Dark Periwinkle
#665FD1
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#666FF2 #F2E966
analogous
#66B5F2 #666FF2 #A366F2
triadic
#666FF2 #F2666F #6FF266
tetradic
#666FF2 #F266B5 #F2E966 #66F2A3
square
#666FF2 #F266B5 #F2E966 #66F2A3
split-complementary
#666FF2 #F2A366 #B5F266
monochromatic
#111DCC #2E3AED #666FF2 #9EA4F7 #D7D9FC
Accessibility & contrast
On white
4.10
#666FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#666FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #666FF2
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##666FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##666FF2 | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1183F7
Deuteranopia (green-blind)
#0078EF
Tritanopia (blue-blind)
#008EA6
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #666ff2; /* rgb */ color: rgb(102, 111, 242); /* oklch */ color: oklch(60.4% 0.194 276.0);
Tailwind
colors: {
custom: {
50: '#9d98f7',
500: '#666ff2',
950: '#000000',
},
}SCSS
$custom: #666ff2; $custom-light: #9d98f7; $custom-dark: #000000;
JSON
{
"hex": "#666ff2",
"rgb": {
"r": 102,
"g": 111,
"b": 242
},
"hsl": {
"h": 236.143,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.60406,
"c": 0.19352,
"h": 276
},
"luminance": 0.20604
}Semantic roles & 50–950 ramp
primary
#666FF2
secondary
#F0EDC4
accent
#D305E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85