#666CDC#666CDC
#666CDC is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.3% C 0.168 H 277.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #666CDC |
|---|---|
| RGB | rgb(102, 108, 220) |
| HSL | hsl(237, 63%, 63%) |
| HSV | hsv(237, 54%, 86%) |
| CMYK | cmyk(53.6%, 50.9%, 0%, 13.7%) |
| CIE-LAB | lab(50.35, 28.95, -58.26) |
| CIE-LCH | lch(50.35, 65.06, 296.43°) |
| OKLab | oklab(58.33% 0.022 -0.1664) |
| OKLCH | oklch(58.33% 0.168 277.5) |
| XYZ | xyz(23.7562, 18.7157, 70.0569) |
| Luminance | 0.1872 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.40
Dark Periwinkle
#665FD1
ΔE00 4.65
Mediumslateblue
#7B68EE
ΔE00 4.86
Royal Blue
#4169E1
ΔE00 5.32
Cornflower
#6A79F7
ΔE00 5.61
Slate Blue
#6A5ACD
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#666CDC #DCD666
analogous
#66A7DC #666CDC #9B66DC
triadic
#666CDC #DC666C #6CDC66
tetradic
#666CDC #DC66A7 #DCD666 #66DC9B
square
#666CDC #DC66A7 #DCD666 #66DC9B
split-complementary
#666CDC #DC9B66 #A7DC66
monochromatic
#252CA2 #343CD1 #666CDC #989CE7 #CACCF3
Accessibility & contrast
On white
4.43
#666CDC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#666CDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #666CDC
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##666CDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##666CDC | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#327DE0
Deuteranopia (green-blind)
#2073DA
Tritanopia (blue-blind)
#2E859A
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #666cdc; /* rgb */ color: rgb(102, 108, 220); /* oklch */ color: oklch(58.3% 0.168 277.5);
Tailwind
colors: {
custom: {
50: '#9a96e7',
500: '#666cdc',
950: '#000000',
},
}SCSS
$custom: #666cdc; $custom-light: #9a96e7; $custom-dark: #000000;
JSON
{
"hex": "#666cdc",
"rgb": {
"r": 102,
"g": 108,
"b": 220
},
"hsl": {
"h": 236.949,
"s": 62.766,
"l": 63.137
},
"oklch": {
"l": 0.58334,
"c": 0.16784,
"h": 277.5
},
"luminance": 0.18717
}Semantic roles & 50–950 ramp
primary
#666CDC
secondary
#E4E2BA
accent
#C21BCB
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84