#665CAB#665CAB
#665CAB is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.1% C 0.122 H 287.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #665CAB |
|---|---|
| RGB | rgb(102, 92, 171) |
| HSL | hsl(248, 32%, 52%) |
| HSV | hsv(248, 46%, 67%) |
| CMYK | cmyk(40.4%, 46.2%, 0%, 32.9%) |
| CIE-LAB | lab(43.39, 23.81, -41.12) |
| CIE-LCH | lch(43.39, 47.52, 300.07°) |
| OKLab | oklab(52.14% 0.036 -0.1162) |
| OKLCH | oklch(52.14% 0.122 287.2) |
| XYZ | xyz(16.6553, 13.4188, 40.2327) |
| Luminance | 0.1342 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.68
Slate Blue
#6A5ACD
ΔE00 5.70
Royal Purple
#7851A9
ΔE00 6.03
Light Indigo
#6D5ACF
ΔE00 6.04
Dark Periwinkle
#665FD1
ΔE00 6.27
Twilight
#4E518B
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665CAB #A1AB5C
analogous
#5C7AAB #665CAB #8E5CAB
triadic
#665CAB #AB665C #5CAB66
tetradic
#665CAB #AB5C7A #A1AB5C #5CAB8E
square
#665CAB #AB5C7A #A1AB5C #5CAB8E
split-complementary
#665CAB #AB8E5C #7AAB5C
monochromatic
#36305D #4D4585 #665CAB #8C84C0 #B2ADD5
Accessibility & contrast
On white
5.70
#665CAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#665CAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665CAB
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665CAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665CAB | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F68AE
Deuteranopia (green-blind)
#3E64A9
Tritanopia (blue-blind)
#536C7B
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #665cab; /* rgb */ color: rgb(102, 92, 171); /* oklch */ color: oklch(52.1% 0.122 287.2);
Tailwind
colors: {
custom: {
50: '#958ac4',
500: '#665cab',
950: '#000000',
},
}SCSS
$custom: #665cab; $custom-light: #958ac4; $custom-dark: #000000;
JSON
{
"hex": "#665cab",
"rgb": {
"r": 102,
"g": 92,
"b": 171
},
"hsl": {
"h": 247.595,
"s": 31.984,
"l": 51.569
},
"oklch": {
"l": 0.52142,
"c": 0.12163,
"h": 287.2
},
"luminance": 0.13419
}Semantic roles & 50–950 ramp
primary
#665CAB
secondary
#BEC3A0
accent
#C860BB
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0B13
muted
#7E7C82