#665FA1#665FA1
#665FA1 is a mid, moderate blue. Relative luminance 0.136; OKLCH L 52.1% C 0.102 H 287.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #665FA1 |
|---|---|
| RGB | rgb(102, 95, 161) |
| HSL | hsl(246, 26%, 50%) |
| HSV | hsv(246, 41%, 63%) |
| CMYK | cmyk(36.6%, 41%, 0%, 36.9%) |
| CIE-LAB | lab(43.63, 19.08, -34.83) |
| CIE-LCH | lch(43.63, 39.72, 298.71°) |
| OKLab | oklab(52.15% 0.0302 -0.0978) |
| OKLCH | oklch(52.15% 0.102 287.1) |
| XYZ | xyz(16.0030, 13.5819, 35.4897) |
| Luminance | 0.1358 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 6.51
Iris
#6258C4
ΔE00 7.00
Royal Purple
#7851A9
ΔE00 7.08
Dusk
#4E5481
ΔE00 7.39
Dusky Blue
#475F94
ΔE00 7.92
Slate Blue
#6A5ACD
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FA1 #9AA15F
analogous
#5F79A1 #665FA1 #875FA1
triadic
#665FA1 #A1665F #5FA166
tetradic
#665FA1 #A15F79 #9AA15F #5FA187
square
#665FA1 #A15F79 #9AA15F #5FA187
split-complementary
#665FA1 #A1875F #79A15F
monochromatic
#353154 #4D487B #665FA1 #8B86B8 #B0ACCE
Accessibility & contrast
On white
5.65
#665FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#665FA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FA1
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FA1 | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A69A4
Deuteranopia (green-blind)
#49659F
Tritanopia (blue-blind)
#576C78
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #665fa1; /* rgb */ color: rgb(102, 95, 161); /* oklch */ color: oklch(52.1% 0.102 287.1);
Tailwind
colors: {
custom: {
50: '#948cbd',
500: '#665fa1',
950: '#000000',
},
}SCSS
$custom: #665fa1; $custom-light: #948cbd; $custom-dark: #000000;
JSON
{
"hex": "#665fa1",
"rgb": {
"r": 102,
"g": 95,
"b": 161
},
"hsl": {
"h": 246.364,
"s": 25.984,
"l": 50.196
},
"oklch": {
"l": 0.52148,
"c": 0.10238,
"h": 287.1
},
"luminance": 0.13582
}Semantic roles & 50–950 ramp
primary
#665FA1
secondary
#BABD9F
accent
#C265B9
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0D0C12
muted
#7E7D81