#666BC7#666BC7
#666BC7 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.8% C 0.140 H 278.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #666BC7 |
|---|---|
| RGB | rgb(102, 107, 199) |
| HSL | hsl(237, 46%, 59%) |
| HSV | hsv(237, 49%, 78%) |
| CMYK | cmyk(48.7%, 46.2%, 0%, 22%) |
| CIE-LAB | lab(48.84, 23.00, -48.72) |
| CIE-LCH | lch(48.84, 53.88, 295.27°) |
| OKLab | oklab(56.78% 0.0209 -0.1384) |
| OKLCH | oklch(56.78% 0.14 278.6) |
| XYZ | xyz(21.0428, 17.4625, 56.2836) |
| Luminance | 0.1746 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.38
Cornflower Blue
#5170D7
ΔE00 5.10
Slate Blue
#6A5ACD
ΔE00 5.99
Light Indigo
#6D5ACF
ΔE00 6.20
Iris
#6258C4
ΔE00 6.32
Royal Blue
#4169E1
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#666BC7 #C7C266
analogous
#669CC7 #666BC7 #9266C7
triadic
#666BC7 #C7666B #6BC766
tetradic
#666BC7 #C7669C #C7C266 #66C792
square
#666BC7 #C7669C #C7C266 #66C792
split-complementary
#666BC7 #C79266 #9CC766
monochromatic
#303483 #4046B0 #666BC7 #9396D7 #C0C2E8
Accessibility & contrast
On white
4.67
#666BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#666BC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #666BC7
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##666BC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##666BC7 | 1.00 | 4.67 | 4.49 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4478CA
Deuteranopia (green-blind)
#3C70C5
Tritanopia (blue-blind)
#417F8F
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #666bc7; /* rgb */ color: rgb(102, 107, 199); /* oklch */ color: oklch(56.8% 0.140 278.6);
Tailwind
colors: {
custom: {
50: '#9795d8',
500: '#666bc7',
950: '#000000',
},
}SCSS
$custom: #666bc7; $custom-light: #9795d8; $custom-dark: #000000;
JSON
{
"hex": "#666bc7",
"rgb": {
"r": 102,
"g": 107,
"b": 199
},
"hsl": {
"h": 236.907,
"s": 46.411,
"l": 59.02
},
"oklch": {
"l": 0.56783,
"c": 0.13995,
"h": 278.6
},
"luminance": 0.17464
}Semantic roles & 50–950 ramp
primary
#666BC7
secondary
#D7D5B1
accent
#CF52D6
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0E0D14
muted
#7E7E83