#665FAB#665FAB
#665FAB is a mid, moderate blue. Relative luminance 0.139; OKLCH L 52.7% C 0.117 H 285.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #665FAB |
|---|---|
| RGB | rgb(102, 95, 171) |
| HSL | hsl(246, 31%, 52%) |
| HSV | hsv(246, 44%, 67%) |
| CMYK | cmyk(40.4%, 44.4%, 0%, 32.9%) |
| CIE-LAB | lab(44.16, 21.96, -39.90) |
| CIE-LCH | lch(44.16, 45.54, 298.83°) |
| OKLab | oklab(52.73% 0.032 -0.1126) |
| OKLCH | oklch(52.73% 0.117 285.9) |
| XYZ | xyz(16.9203, 13.9489, 40.3211) |
| Luminance | 0.1395 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.11
Slate Blue
#6A5ACD
ΔE00 6.01
Dark Periwinkle
#665FD1
ΔE00 6.27
Light Indigo
#6D5ACF
ΔE00 6.35
Royal Purple
#7851A9
ΔE00 6.86
Twilight
#4E518B
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FAB #A4AB5F
analogous
#5F7EAB #665FAB #8C5FAB
triadic
#665FAB #AB665F #5FAB66
tetradic
#665FAB #AB5F7E #A4AB5F #5FAB8C
square
#665FAB #AB5F7E #A4AB5F #5FAB8C
split-complementary
#665FAB #AB8C5F #7EAB5F
monochromatic
#36315E #4C4786 #665FAB #8C87C0 #B3AFD5
Accessibility & contrast
On white
5.54
#665FAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#665FAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FAB
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FAB | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#446BAE
Deuteranopia (green-blind)
#4266A9
Tritanopia (blue-blind)
#526E7D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #665fab; /* rgb */ color: rgb(102, 95, 171); /* oklch */ color: oklch(52.7% 0.117 285.9);
Tailwind
colors: {
custom: {
50: '#958cc4',
500: '#665fab',
950: '#000000',
},
}SCSS
$custom: #665fab; $custom-light: #958cc4; $custom-dark: #000000;
JSON
{
"hex": "#665fab",
"rgb": {
"r": 102,
"g": 95,
"b": 171
},
"hsl": {
"h": 245.526,
"s": 31.148,
"l": 52.157
},
"oklch": {
"l": 0.52726,
"c": 0.11705,
"h": 285.9
},
"luminance": 0.13949
}Semantic roles & 50–950 ramp
primary
#665FAB
secondary
#C0C3A2
accent
#C760BE
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C13
muted
#7E7D82