#665AC7#665AC7
#665AC7 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.6% C 0.164 H 284.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #665AC7 |
|---|---|
| RGB | rgb(102, 90, 199) |
| HSL | hsl(247, 49%, 57%) |
| HSV | hsv(247, 55%, 78%) |
| CMYK | cmyk(48.7%, 54.8%, 0%, 22%) |
| CIE-LAB | lab(44.60, 33.38, -55.51) |
| CIE-LCH | lch(44.60, 64.78, 301.02°) |
| OKLab | oklab(53.6% 0.0408 -0.1584) |
| OKLCH | oklch(53.6% 0.164 284.4) |
| XYZ | xyz(19.4414, 14.2597, 55.7498) |
| Luminance | 0.1426 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 0.98
Slate Blue
#6A5ACD
ΔE00 1.14
Light Indigo
#6D5ACF
ΔE00 1.73
Dark Periwinkle
#665FD1
ΔE00 2.19
Warm Blue
#4B57DB
ΔE00 4.88
Bluey Purple
#6241C7
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665AC7 #BBC75A
analogous
#5A85C7 #665AC7 #9D5AC7
triadic
#665AC7 #C7665A #5AC766
tetradic
#665AC7 #C75A85 #BBC75A #5AC79D
square
#665AC7 #C75A85 #BBC75A #5AC79D
split-complementary
#665AC7 #C79D5A #85C75A
monochromatic
#332A7C #463AAA #665AC7 #9088D7 #BBB5E6
Accessibility & contrast
On white
5.45
#665AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#665AC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665AC7
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665AC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665AC7 | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B6DCB
Deuteranopia (green-blind)
#1366C5
Tritanopia (blue-blind)
#437288
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #665ac7; /* rgb */ color: rgb(102, 90, 199); /* oklch */ color: oklch(53.6% 0.164 284.4);
Tailwind
colors: {
custom: {
50: '#9889d9',
500: '#665ac7',
950: '#000000',
},
}SCSS
$custom: #665ac7; $custom-light: #9889d9; $custom-dark: #000000;
JSON
{
"hex": "#665ac7",
"rgb": {
"r": 102,
"g": 90,
"b": 199
},
"hsl": {
"h": 246.606,
"s": 49.321,
"l": 56.667
},
"oklch": {
"l": 0.53604,
"c": 0.1636,
"h": 284.4
},
"luminance": 0.14261
}Semantic roles & 50–950 ramp
primary
#665AC7
secondary
#D0D5A8
accent
#D94FCA
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B15
muted
#7E7C83