#666FE2#666FE2
#666FE2 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.3% C 0.172 H 276.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #666FE2 |
|---|---|
| RGB | rgb(102, 111, 226) |
| HSL | hsl(236, 68%, 64%) |
| HSV | hsv(236, 55%, 89%) |
| CMYK | cmyk(54.9%, 50.9%, 0%, 11.4%) |
| CIE-LAB | lab(51.48, 29.03, -59.84) |
| CIE-LCH | lch(51.48, 66.51, 295.88°) |
| OKLab | oklab(59.3% 0.0193 -0.171) |
| OKLCH | oklch(59.3% 0.172 276.4) |
| XYZ | xyz(24.8870, 19.6830, 74.4245) |
| Luminance | 0.1968 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.20
Cornflower
#6A79F7
ΔE00 4.30
Mediumslateblue
#7B68EE
ΔE00 4.92
Royal Blue
#4169E1
ΔE00 5.42
Dark Periwinkle
#665FD1
ΔE00 5.92
Lightish Blue
#3D7AFD
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#666FE2 #E2D966
analogous
#66ADE2 #666FE2 #9B66E2
triadic
#666FE2 #E2666F #6FE266
tetradic
#666FE2 #E266AD #E2D966 #66E29B
square
#666FE2 #E266AD #E2D966 #66E29B
split-complementary
#666FE2 #E29B66 #ADE266
monochromatic
#212BAD #333FD8 #666FE2 #999FEC #CDD0F6
Accessibility & contrast
On white
4.25
#666FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#666FE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #666FE2
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##666FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##666FE2 | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3280E6
Deuteranopia (green-blind)
#1D76E0
Tritanopia (blue-blind)
#25899E
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #666fe2; /* rgb */ color: rgb(102, 111, 226); /* oklch */ color: oklch(59.3% 0.172 276.4);
Tailwind
colors: {
custom: {
50: '#9b98ec',
500: '#666fe2',
950: '#000000',
},
}SCSS
$custom: #666fe2; $custom-light: #9b98ec; $custom-dark: #000000;
JSON
{
"hex": "#666fe2",
"rgb": {
"r": 102,
"g": 111,
"b": 226
},
"hsl": {
"h": 235.645,
"s": 68.132,
"l": 64.314
},
"oklch": {
"l": 0.593,
"c": 0.17209,
"h": 276.4
},
"luminance": 0.19685
}Semantic roles & 50–950 ramp
primary
#666FE2
secondary
#E7E4BC
accent
#C315D0
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84