#665EA1#665EA1
#665EA1 is a mid, moderate blue. Relative luminance 0.134; OKLCH L 51.9% C 0.104 H 287.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #665EA1 |
|---|---|
| RGB | rgb(102, 94, 161) |
| HSL | hsl(247, 26%, 50%) |
| HSV | hsv(247, 42%, 63%) |
| CMYK | cmyk(36.6%, 41.6%, 0%, 36.9%) |
| CIE-LAB | lab(43.36, 19.70, -35.25) |
| CIE-LCH | lch(43.36, 40.38, 299.20°) |
| OKLab | oklab(51.95% 0.0316 -0.099) |
| OKLCH | oklch(51.95% 0.104 287.7) |
| XYZ | xyz(15.9135, 13.4029, 35.4599) |
| Luminance | 0.1340 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 6.38
Royal Purple
#7851A9
ΔE00 6.77
Iris
#6258C4
ΔE00 6.86
Dusk
#4E5481
ΔE00 7.37
Slate Blue
#6A5ACD
ΔE00 7.82
Dusky Blue
#475F94
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665EA1 #99A15E
analogous
#5E78A1 #665EA1 #875EA1
triadic
#665EA1 #A1665E #5EA166
tetradic
#665EA1 #A15E78 #99A15E #5EA187
square
#665EA1 #A15E78 #99A15E #5EA187
split-complementary
#665EA1 #A1875E #78A15E
monochromatic
#353154 #4E477A #665EA1 #8B85B8 #AFABCE
Accessibility & contrast
On white
5.71
#665EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#665EA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665EA1
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665EA1 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4868A4
Deuteranopia (green-blind)
#47659F
Tritanopia (blue-blind)
#576B78
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #665ea1; /* rgb */ color: rgb(102, 94, 161); /* oklch */ color: oklch(51.9% 0.104 287.7);
Tailwind
colors: {
custom: {
50: '#948bbd',
500: '#665ea1',
950: '#000000',
},
}SCSS
$custom: #665ea1; $custom-light: #948bbd; $custom-dark: #000000;
JSON
{
"hex": "#665ea1",
"rgb": {
"r": 102,
"g": 94,
"b": 161
},
"hsl": {
"h": 247.164,
"s": 26.275,
"l": 50
},
"oklch": {
"l": 0.51948,
"c": 0.10395,
"h": 287.7
},
"luminance": 0.13403
}Semantic roles & 50–950 ramp
primary
#665EA1
secondary
#B9BC9E
accent
#C365B7
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0D0C12
muted
#7E7D81