#666EF3#666EF3
#666EF3 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.3% C 0.196 H 276.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #666EF3 |
|---|---|
| RGB | rgb(102, 110, 243) |
| HSL | hsl(237, 85%, 68%) |
| HSV | hsv(237, 58%, 95%) |
| CMYK | cmyk(58%, 54.7%, 0%, 4.7%) |
| CIE-LAB | lab(52.34, 35.05, -67.97) |
| CIE-LCH | lch(52.34, 76.47, 297.28°) |
| OKLab | oklab(60.3% 0.0212 -0.1949) |
| OKLCH | oklch(60.3% 0.196 276.2) |
| XYZ | xyz(27.2279, 20.4457, 87.2882) |
| Luminance | 0.2045 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.53
Mediumslateblue
#7B68EE
ΔE00 4.23
Cornflower Blue
#5170D7
ΔE00 5.61
Royal Blue
#4169E1
ΔE00 6.19
Dark Periwinkle
#665FD1
ΔE00 6.93
Lightish Blue
#3D7AFD
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#666EF3 #F3EB66
analogous
#66B4F3 #666EF3 #A566F3
triadic
#666EF3 #F3666E #6EF366
tetradic
#666EF3 #F366B4 #F3EB66 #66F3A5
square
#666EF3 #F366B4 #F3EB66 #66F3A5
split-complementary
#666EF3 #F3A566 #B4F366
monochromatic
#101BCE #2D38EF #666EF3 #9FA4F7 #D7DAFC
Accessibility & contrast
On white
4.13
#666EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#666EF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #666EF3
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##666EF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##666EF3 | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0283F8
Deuteranopia (green-blind)
#0077F0
Tritanopia (blue-blind)
#008DA6
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #666ef3; /* rgb */ color: rgb(102, 110, 243); /* oklch */ color: oklch(60.3% 0.196 276.2);
Tailwind
colors: {
custom: {
50: '#9d97f8',
500: '#666ef3',
950: '#000000',
},
}SCSS
$custom: #666ef3; $custom-light: #9d97f8; $custom-dark: #000000;
JSON
{
"hex": "#666ef3",
"rgb": {
"r": 102,
"g": 110,
"b": 243
},
"hsl": {
"h": 236.596,
"s": 85.455,
"l": 67.647
},
"oklch": {
"l": 0.60297,
"c": 0.19609,
"h": 276.2
},
"luminance": 0.20448
}Semantic roles & 50–950 ramp
primary
#666EF3
secondary
#F0EEC5
accent
#D504E2
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85