#665AB5#665AB5
#665AB5 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.4% C 0.139 H 286.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #665AB5 |
|---|---|
| RGB | rgb(102, 90, 181) |
| HSL | hsl(248, 38%, 53%) |
| HSV | hsv(248, 50%, 71%) |
| CMYK | cmyk(43.6%, 50.3%, 0%, 29%) |
| CIE-LAB | lab(43.47, 27.98, -46.87) |
| CIE-LCH | lch(43.47, 54.59, 300.84°) |
| OKLab | oklab(52.39% 0.0397 -0.133) |
| OKLCH | oklch(52.39% 0.139 286.6) |
| XYZ | xyz(17.4738, 13.4726, 45.3869) |
| Luminance | 0.1347 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.73
Slate Blue
#6A5ACD
ΔE00 3.83
Light Indigo
#6D5ACF
ΔE00 4.22
Dark Periwinkle
#665FD1
ΔE00 4.66
Royal Purple
#7851A9
ΔE00 6.02
Warm Blue
#4B57DB
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665AB5 #A9B55A
analogous
#5A7BB5 #665AB5 #935AB5
triadic
#665AB5 #B5665A #5AB566
tetradic
#665AB5 #B55A7B #A9B55A #5AB593
square
#665AB5 #B55A7B #A9B55A #5AB593
split-complementary
#665AB5 #B5935A #7BB55A
monochromatic
#352E67 #4B4191 #665AB5 #8D84C8 #B4AFDB
Accessibility & contrast
On white
5.68
#665AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#665AB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665AB5
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665AB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665AB5 | 1.00 | 5.68 | 3.69 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3369B8
Deuteranopia (green-blind)
#3264B3
Tritanopia (blue-blind)
#4E6D7F
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #665ab5; /* rgb */ color: rgb(102, 90, 181); /* oklch */ color: oklch(52.4% 0.139 286.6);
Tailwind
colors: {
custom: {
50: '#9689cc',
500: '#665ab5',
950: '#000000',
},
}SCSS
$custom: #665ab5; $custom-light: #9689cc; $custom-dark: #000000;
JSON
{
"hex": "#665ab5",
"rgb": {
"r": 102,
"g": 90,
"b": 181
},
"hsl": {
"h": 247.912,
"s": 38.075,
"l": 53.137
},
"oklch": {
"l": 0.52391,
"c": 0.13884,
"h": 286.6
},
"luminance": 0.13473
}Semantic roles & 50–950 ramp
primary
#665AB5
secondary
#C4C9A2
accent
#CE5ABF
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B13
muted
#7E7C82