#665FAA#665FAA
#665FAA is a mid, moderate blue. Relative luminance 0.139; OKLCH L 52.7% C 0.116 H 286.0°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #665FAA |
|---|---|
| RGB | rgb(102, 95, 170) |
| HSL | hsl(246, 31%, 52%) |
| HSV | hsv(246, 44%, 67%) |
| CMYK | cmyk(40%, 44.1%, 0%, 33.3%) |
| CIE-LAB | lab(44.10, 21.67, -39.40) |
| CIE-LCH | lch(44.10, 44.96, 298.82°) |
| OKLab | oklab(52.67% 0.0318 -0.1111) |
| OKLCH | oklch(52.67% 0.116 286) |
| XYZ | xyz(16.8254, 13.9109, 39.8210) |
| Luminance | 0.1391 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.29
Slate Blue
#6A5ACD
ΔE00 6.19
Dark Periwinkle
#665FD1
ΔE00 6.46
Light Indigo
#6D5ACF
ΔE00 6.53
Royal Purple
#7851A9
ΔE00 6.86
Twilight
#4E518B
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FAA #A3AA5F
analogous
#5F7EAA #665FAA #8C5FAA
triadic
#665FAA #AA665F #5FAA66
tetradic
#665FAA #AA5F7E #A3AA5F #5FAA8C
square
#665FAA #AA5F7E #A3AA5F #5FAA8C
split-complementary
#665FAA #AA8C5F #7EAA5F
monochromatic
#36315D #4D4785 #665FAA #8C87BF #B2AFD4
Accessibility & contrast
On white
5.55
#665FAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#665FAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FAA
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FAA | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#446AAD
Deuteranopia (green-blind)
#4366A8
Tritanopia (blue-blind)
#536E7C
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #665faa; /* rgb */ color: rgb(102, 95, 170); /* oklch */ color: oklch(52.7% 0.116 286.0);
Tailwind
colors: {
custom: {
50: '#958cc4',
500: '#665faa',
950: '#000000',
},
}SCSS
$custom: #665faa; $custom-light: #958cc4; $custom-dark: #000000;
JSON
{
"hex": "#665faa",
"rgb": {
"r": 102,
"g": 95,
"b": 170
},
"hsl": {
"h": 245.6,
"s": 30.612,
"l": 51.961
},
"oklch": {
"l": 0.52667,
"c": 0.11559,
"h": 286
},
"luminance": 0.13911
}Semantic roles & 50–950 ramp
primary
#665FAA
secondary
#C0C3A2
accent
#C761BD
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C12
muted
#7E7D81