#665FAE#665FAE
#665FAE is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.9% C 0.121 H 285.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #665FAE |
|---|---|
| RGB | rgb(102, 95, 174) |
| HSL | hsl(245, 33%, 53%) |
| HSV | hsv(245, 45%, 68%) |
| CMYK | cmyk(41.4%, 45.4%, 0%, 31.8%) |
| CIE-LAB | lab(44.33, 22.84, -41.40) |
| CIE-LCH | lch(44.33, 47.28, 298.89°) |
| OKLab | oklab(52.91% 0.0324 -0.117) |
| OKLCH | oklch(52.91% 0.121 285.5) |
| XYZ | xyz(17.2095, 14.0646, 41.8442) |
| Luminance | 0.1406 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.60
Slate Blue
#6A5ACD
ΔE00 5.48
Dark Periwinkle
#665FD1
ΔE00 5.71
Light Indigo
#6D5ACF
ΔE00 5.83
Royal Purple
#7851A9
ΔE00 6.91
Twilight
#4E518B
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FAE #A7AE5F
analogous
#5F80AE #665FAE #8D5FAE
triadic
#665FAE #AE665F #5FAE66
tetradic
#665FAE #AE5F80 #A7AE5F #5FAE8D
square
#665FAE #AE5F80 #A7AE5F #5FAE8D
split-complementary
#665FAE #AE8D5F #80AE5F
monochromatic
#363161 #4C468A #665FAE #8D88C3 #B4B0D7
Accessibility & contrast
On white
5.51
#665FAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#665FAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FAE
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FAE | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#426BB1
Deuteranopia (green-blind)
#4066AC
Tritanopia (blue-blind)
#516F7E
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #665fae; /* rgb */ color: rgb(102, 95, 174); /* oklch */ color: oklch(52.9% 0.121 285.5);
Tailwind
colors: {
custom: {
50: '#958cc6',
500: '#665fae',
950: '#000000',
},
}SCSS
$custom: #665fae; $custom-light: #958cc6; $custom-dark: #000000;
JSON
{
"hex": "#665fae",
"rgb": {
"r": 102,
"g": 95,
"b": 174
},
"hsl": {
"h": 245.316,
"s": 32.78,
"l": 52.745
},
"oklch": {
"l": 0.52906,
"c": 0.1214,
"h": 285.5
},
"luminance": 0.14065
}Semantic roles & 50–950 ramp
primary
#665FAE
secondary
#C2C6A3
accent
#C95FC0
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82