#665DAB#665DAB
#665DAB is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.3% C 0.120 H 286.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #665DAB |
|---|---|
| RGB | rgb(102, 93, 171) |
| HSL | hsl(247, 32%, 52%) |
| HSV | hsv(247, 46%, 67%) |
| CMYK | cmyk(40.4%, 45.6%, 0%, 32.9%) |
| CIE-LAB | lab(43.64, 23.20, -40.72) |
| CIE-LCH | lch(43.64, 46.86, 299.67°) |
| OKLab | oklab(52.34% 0.0346 -0.115) |
| OKLCH | oklch(52.34% 0.12 286.8) |
| XYZ | xyz(16.7425, 13.5932, 40.2618) |
| Luminance | 0.1359 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.80
Slate Blue
#6A5ACD
ΔE00 5.78
Light Indigo
#6D5ACF
ΔE00 6.13
Dark Periwinkle
#665FD1
ΔE00 6.25
Royal Purple
#7851A9
ΔE00 6.29
Twilight
#4E518B
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665DAB #A2AB5D
analogous
#5D7BAB #665DAB #8D5DAB
triadic
#665DAB #AB665D #5DAB66
tetradic
#665DAB #AB5D7B #A2AB5D #5DAB8D
square
#665DAB #AB5D7B #A2AB5D #5DAB8D
split-complementary
#665DAB #AB8D5D #7BAB5D
monochromatic
#36305D #4D4586 #665DAB #8C85C0 #B2AED5
Accessibility & contrast
On white
5.65
#665DAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#665DAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665DAB
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665DAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665DAB | 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)
#4069AE
Deuteranopia (green-blind)
#3F65A9
Tritanopia (blue-blind)
#536D7C
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #665dab; /* rgb */ color: rgb(102, 93, 171); /* oklch */ color: oklch(52.3% 0.120 286.8);
Tailwind
colors: {
custom: {
50: '#958bc4',
500: '#665dab',
950: '#000000',
},
}SCSS
$custom: #665dab; $custom-light: #958bc4; $custom-dark: #000000;
JSON
{
"hex": "#665dab",
"rgb": {
"r": 102,
"g": 93,
"b": 171
},
"hsl": {
"h": 246.923,
"s": 31.707,
"l": 51.765
},
"oklch": {
"l": 0.52336,
"c": 0.1201,
"h": 286.8
},
"luminance": 0.13594
}Semantic roles & 50–950 ramp
primary
#665DAB
secondary
#BFC3A1
accent
#C860BC
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C13
muted
#7E7D82