#665AA6#665AA6
#665AA6 is a mid, moderate blue. Relative luminance 0.129; OKLCH L 51.5% C 0.118 H 288.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #665AA6 |
|---|---|
| RGB | rgb(102, 90, 166) |
| HSL | hsl(249, 30%, 50%) |
| HSV | hsv(249, 46%, 65%) |
| CMYK | cmyk(38.6%, 45.8%, 0%, 34.9%) |
| CIE-LAB | lab(42.60, 23.60, -39.43) |
| CIE-LCH | lch(42.60, 45.95, 300.90°) |
| OKLab | oklab(51.45% 0.0379 -0.1112) |
| OKLCH | oklch(51.45% 0.118 288.8) |
| XYZ | xyz(16.0167, 12.8898, 37.7131) |
| Luminance | 0.1289 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.45
Royal Purple
#7851A9
ΔE00 5.49
Twilight
#4E518B
ΔE00 6.50
Slate Blue
#6A5ACD
ΔE00 6.53
Light Indigo
#6D5ACF
ΔE00 6.84
Dark Periwinkle
#665FD1
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665AA6 #9AA65A
analogous
#5A74A6 #665AA6 #8C5AA6
triadic
#665AA6 #A6665A #5AA666
tetradic
#665AA6 #A65A74 #9AA65A #5AA68C
square
#665AA6 #A65A74 #9AA65A #5AA68C
split-complementary
#665AA6 #A68C5A #74A65A
monochromatic
#352F57 #4D447F #665AA6 #8B82BB #B0AAD1
Accessibility & contrast
On white
5.87
#665AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#665AA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665AA6
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665AA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665AA6 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F66A9
Deuteranopia (green-blind)
#3F63A4
Tritanopia (blue-blind)
#556978
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #665aa6; /* rgb */ color: rgb(102, 90, 166); /* oklch */ color: oklch(51.5% 0.118 288.8);
Tailwind
colors: {
custom: {
50: '#9588c1',
500: '#665aa6',
950: '#000000',
},
}SCSS
$custom: #665aa6; $custom-light: #9588c1; $custom-dark: #000000;
JSON
{
"hex": "#665aa6",
"rgb": {
"r": 102,
"g": 90,
"b": 166
},
"hsl": {
"h": 249.474,
"s": 29.921,
"l": 50.196
},
"oklch": {
"l": 0.51454,
"c": 0.11752,
"h": 288.8
},
"luminance": 0.1289
}Semantic roles & 50–950 ramp
primary
#665AA6
secondary
#BABF9D
accent
#C662B6
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0B12
muted
#7E7C81