#665BAE#665BAE
#665BAE is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.1% C 0.127 H 287.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #665BAE |
|---|---|
| RGB | rgb(102, 91, 174) |
| HSL | hsl(248, 34%, 52%) |
| HSV | hsv(248, 48%, 68%) |
| CMYK | cmyk(41.4%, 47.7%, 0%, 31.8%) |
| CIE-LAB | lab(43.30, 25.31, -43.02) |
| CIE-LCH | lch(43.30, 49.91, 300.46°) |
| OKLab | oklab(52.14% 0.0377 -0.1218) |
| OKLCH | oklch(52.14% 0.127 287.2) |
| XYZ | xyz(16.8584, 13.3624, 41.7271) |
| Luminance | 0.1336 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.02
Slate Blue
#6A5ACD
ΔE00 5.09
Light Indigo
#6D5ACF
ΔE00 5.44
Dark Periwinkle
#665FD1
ΔE00 5.77
Royal Purple
#7851A9
ΔE00 5.86
Twilight
#4E518B
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665BAE #A3AE5B
analogous
#5B7AAE #665BAE #905BAE
triadic
#665BAE #AE665B #5BAE66
tetradic
#665BAE #AE5B7A #A3AE5B #5BAE90
square
#665BAE #AE5B7A #A3AE5B #5BAE90
split-complementary
#665BAE #AE905B #7AAE5B
monochromatic
#362F5F #4D4388 #665BAE #8C84C2 #B2ADD6
Accessibility & contrast
On white
5.72
#665BAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#665BAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665BAE
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665BAE | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B68B1
Deuteranopia (green-blind)
#3A64AC
Tritanopia (blue-blind)
#516C7C
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #665bae; /* rgb */ color: rgb(102, 91, 174); /* oklch */ color: oklch(52.1% 0.127 287.2);
Tailwind
colors: {
custom: {
50: '#9589c6',
500: '#665bae',
950: '#000000',
},
}SCSS
$custom: #665bae; $custom-light: #9589c6; $custom-dark: #000000;
JSON
{
"hex": "#665bae",
"rgb": {
"r": 102,
"g": 91,
"b": 174
},
"hsl": {
"h": 247.952,
"s": 33.878,
"l": 51.961
},
"oklch": {
"l": 0.52135,
"c": 0.12745,
"h": 287.2
},
"luminance": 0.13363
}Semantic roles & 50–950 ramp
primary
#665BAE
secondary
#C0C5A0
accent
#CA5EBC
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B13
muted
#7E7C82