#665CAE#665CAE
#665CAE is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.3% C 0.126 H 286.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #665CAE |
|---|---|
| RGB | rgb(102, 92, 174) |
| HSL | hsl(247, 34%, 52%) |
| HSV | hsv(247, 47%, 68%) |
| CMYK | cmyk(41.4%, 47.1%, 0%, 31.8%) |
| CIE-LAB | lab(43.56, 24.69, -42.62) |
| CIE-LCH | lch(43.56, 49.26, 300.09°) |
| OKLab | oklab(52.33% 0.0364 -0.1206) |
| OKLCH | oklch(52.33% 0.126 286.8) |
| XYZ | xyz(16.9445, 13.5345, 41.7558) |
| Luminance | 0.1353 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.13
Slate Blue
#6A5ACD
ΔE00 5.15
Light Indigo
#6D5ACF
ΔE00 5.51
Dark Periwinkle
#665FD1
ΔE00 5.72
Royal Purple
#7851A9
ΔE00 6.10
Twilight
#4E518B
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665CAE #A4AE5C
analogous
#5C7BAE #665CAE #8F5CAE
triadic
#665CAE #AE665C #5CAE66
tetradic
#665CAE #AE5C7B #A4AE5C #5CAE8F
square
#665CAE #AE5C7B #A4AE5C #5CAE8F
split-complementary
#665CAE #AE8F5C #7BAE5C
monochromatic
#363060 #4C4489 #665CAE #8C85C2 #B3AED7
Accessibility & contrast
On white
5.66
#665CAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#665CAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665CAE
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665CAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665CAE | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D69B1
Deuteranopia (green-blind)
#3B65AC
Tritanopia (blue-blind)
#516D7C
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #665cae; /* rgb */ color: rgb(102, 92, 174); /* oklch */ color: oklch(52.3% 0.126 286.8);
Tailwind
colors: {
custom: {
50: '#958ac6',
500: '#665cae',
950: '#000000',
},
}SCSS
$custom: #665cae; $custom-light: #958ac6; $custom-dark: #000000;
JSON
{
"hex": "#665cae",
"rgb": {
"r": 102,
"g": 92,
"b": 174
},
"hsl": {
"h": 247.317,
"s": 33.607,
"l": 52.157
},
"oklch": {
"l": 0.52326,
"c": 0.12594,
"h": 286.8
},
"luminance": 0.13535
}Semantic roles & 50–950 ramp
primary
#665CAE
secondary
#C0C5A1
accent
#CA5EBD
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B13
muted
#7E7C82