#665EAA#665EAA
#665EAA is a mid, moderate blue. Relative luminance 0.137; OKLCH L 52.5% C 0.117 H 286.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #665EAA |
|---|---|
| RGB | rgb(102, 94, 170) |
| HSL | hsl(246, 31%, 52%) |
| HSV | hsv(246, 45%, 67%) |
| CMYK | cmyk(40%, 44.7%, 0%, 33.3%) |
| CIE-LAB | lab(43.85, 22.29, -39.81) |
| CIE-LCH | lch(43.85, 45.62, 299.25°) |
| OKLab | oklab(52.47% 0.0332 -0.1123) |
| OKLCH | oklch(52.47% 0.117 286.4) |
| XYZ | xyz(16.7359, 13.7319, 39.7911) |
| Luminance | 0.1373 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.13
Slate Blue
#6A5ACD
ΔE00 6.07
Light Indigo
#6D5ACF
ΔE00 6.41
Dark Periwinkle
#665FD1
ΔE00 6.44
Royal Purple
#7851A9
ΔE00 6.57
Twilight
#4E518B
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665EAA #A2AA5E
analogous
#5E7CAA #665EAA #8C5EAA
triadic
#665EAA #AA665E #5EAA66
tetradic
#665EAA #AA5E7C #A2AA5E #5EAA8C
square
#665EAA #AA5E7C #A2AA5E #5EAA8C
split-complementary
#665EAA #AA8C5E #7CAA5E
monochromatic
#36315D #4D4685 #665EAA #8C86BF #B2AED4
Accessibility & contrast
On white
5.61
#665EAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#665EAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665EAA
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665EAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665EAA | 1.00 | 5.61 | 3.75 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#436AAD
Deuteranopia (green-blind)
#4166A8
Tritanopia (blue-blind)
#536D7C
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #665eaa; /* rgb */ color: rgb(102, 94, 170); /* oklch */ color: oklch(52.5% 0.117 286.4);
Tailwind
colors: {
custom: {
50: '#958bc4',
500: '#665eaa',
950: '#000000',
},
}SCSS
$custom: #665eaa; $custom-light: #958bc4; $custom-dark: #000000;
JSON
{
"hex": "#665eaa",
"rgb": {
"r": 102,
"g": 94,
"b": 170
},
"hsl": {
"h": 246.316,
"s": 30.894,
"l": 51.765
},
"oklch": {
"l": 0.52471,
"c": 0.11712,
"h": 286.4
},
"luminance": 0.13732
}Semantic roles & 50–950 ramp
primary
#665EAA
secondary
#BFC3A1
accent
#C761BC
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C12
muted
#7E7D81