#666FCC#666FCC
#666FCC is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.9% C 0.142 H 276.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #666FCC |
|---|---|
| RGB | rgb(102, 111, 204) |
| HSL | hsl(235, 50%, 60%) |
| HSV | hsv(235, 50%, 80%) |
| CMYK | cmyk(50%, 45.6%, 0%, 20%) |
| CIE-LAB | lab(50.16, 22.10, -49.48) |
| CIE-LCH | lch(50.16, 54.19, 294.07°) |
| OKLab | oklab(57.88% 0.0169 -0.1406) |
| OKLCH | oklch(57.88% 0.142 276.9) |
| XYZ | xyz(22.0596, 18.5520, 59.5335) |
| Luminance | 0.1855 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.12
Dark Periwinkle
#665FD1
ΔE00 5.55
Royal Blue
#4169E1
ΔE00 5.91
Cornflower
#6A79F7
ΔE00 6.73
Mediumslateblue
#7B68EE
ΔE00 6.84
Slate Blue
#6A5ACD
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#666FCC #CCC366
analogous
#66A2CC #666FCC #9066CC
triadic
#666FCC #CC666F #6FCC66
tetradic
#666FCC #CC66A2 #CCC366 #66CC90
square
#666FCC #CC66A2 #CCC366 #66CC90
split-complementary
#666FCC #CC9066 #A2CC66
monochromatic
#2E368A #3D48B8 #666FCC #949ADB #C2C5EB
Accessibility & contrast
On white
4.46
#666FCC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#666FCC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #666FCC
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##666FCC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##666FCC | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#477CCF
Deuteranopia (green-blind)
#3E73CA
Tritanopia (blue-blind)
#3D8394
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #666fcc; /* rgb */ color: rgb(102, 111, 204); /* oklch */ color: oklch(57.9% 0.142 276.9);
Tailwind
colors: {
custom: {
50: '#9898dc',
500: '#666fcc',
950: '#000000',
},
}SCSS
$custom: #666fcc; $custom-light: #9898dc; $custom-dark: #000000;
JSON
{
"hex": "#666fcc",
"rgb": {
"r": 102,
"g": 111,
"b": 204
},
"hsl": {
"h": 234.706,
"s": 50,
"l": 60
},
"oklch": {
"l": 0.57879,
"c": 0.14157,
"h": 276.9
},
"luminance": 0.18553
}Semantic roles & 50–950 ramp
primary
#666FCC
secondary
#DBD7B3
accent
#CD4EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83