#666CF3#666CF3
#666CF3 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.9% C 0.199 H 276.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #666CF3 |
|---|---|
| RGB | rgb(102, 108, 243) |
| HSL | hsl(237, 85%, 68%) |
| HSV | hsv(237, 58%, 95%) |
| CMYK | cmyk(58%, 55.6%, 0%, 4.7%) |
| CIE-LAB | lab(51.86, 36.25, -68.74) |
| CIE-LCH | lch(51.86, 77.72, 297.80°) |
| OKLab | oklab(59.94% 0.0231 -0.1972) |
| OKLCH | oklch(59.94% 0.199 276.7) |
| XYZ | xyz(27.0145, 20.0190, 87.2171) |
| Luminance | 0.2002 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.89
Cornflower
#6A79F7
ΔE00 4.15
Cornflower Blue
#5170D7
ΔE00 5.81
Royal Blue
#4169E1
ΔE00 6.15
Dark Periwinkle
#665FD1
ΔE00 6.46
Bright Blue
#0165FC
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#666CF3 #F3ED66
analogous
#66B2F3 #666CF3 #A766F3
triadic
#666CF3 #F3666C #6CF366
tetradic
#666CF3 #F366B2 #F3ED66 #66F3A7
square
#666CF3 #F366B2 #F3ED66 #66F3A7
split-complementary
#666CF3 #F3A766 #B2F366
monochromatic
#1018CE #2D35EF #666CF3 #9FA3F7 #D7D9FC
Accessibility & contrast
On white
4.20
#666CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#666CF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #666CF3
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##666CF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##666CF3 | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0082F8
Deuteranopia (green-blind)
#0076F0
Tritanopia (blue-blind)
#008CA5
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #666cf3; /* rgb */ color: rgb(102, 108, 243); /* oklch */ color: oklch(59.9% 0.199 276.7);
Tailwind
colors: {
custom: {
50: '#9d96f8',
500: '#666cf3',
950: '#000000',
},
}SCSS
$custom: #666cf3; $custom-light: #9d96f8; $custom-dark: #000000;
JSON
{
"hex": "#666cf3",
"rgb": {
"r": 102,
"g": 108,
"b": 243
},
"hsl": {
"h": 237.447,
"s": 85.455,
"l": 67.647
},
"oklch": {
"l": 0.5994,
"c": 0.19859,
"h": 276.7
},
"luminance": 0.20021
}Semantic roles & 50–950 ramp
primary
#666CF3
secondary
#F0EEC5
accent
#D804E2
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85