#665BC7#665BC7
#665BC7 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.8% C 0.162 H 284.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #665BC7 |
|---|---|
| RGB | rgb(102, 91, 199) |
| HSL | hsl(246, 49%, 57%) |
| HSV | hsv(246, 54%, 78%) |
| CMYK | cmyk(48.7%, 54.3%, 0%, 22%) |
| CIE-LAB | lab(44.84, 32.78, -55.13) |
| CIE-LCH | lch(44.84, 64.13, 300.73°) |
| OKLab | oklab(53.78% 0.0396 -0.1573) |
| OKLCH | oklch(53.78% 0.162 284.1) |
| XYZ | xyz(19.5263, 14.4295, 55.7781) |
| Luminance | 0.1443 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.17
Slate Blue
#6A5ACD
ΔE00 1.22
Light Indigo
#6D5ACF
ΔE00 1.79
Dark Periwinkle
#665FD1
ΔE00 1.97
Warm Blue
#4B57DB
ΔE00 4.90
Purpley
#8756E4
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665BC7 #BCC75B
analogous
#5B86C7 #665BC7 #9C5BC7
triadic
#665BC7 #C7665B #5BC766
tetradic
#665BC7 #C75B86 #BCC75B #5BC79C
square
#665BC7 #C75B86 #BCC75B #5BC79C
split-complementary
#665BC7 #C79C5B #86C75B
monochromatic
#332B7D #463AAB #665BC7 #9189D7 #BBB6E6
Accessibility & contrast
On white
5.40
#665BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#665BC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665BC7
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665BC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665BC7 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F6DCB
Deuteranopia (green-blind)
#1767C5
Tritanopia (blue-blind)
#437388
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #665bc7; /* rgb */ color: rgb(102, 91, 199); /* oklch */ color: oklch(53.8% 0.162 284.1);
Tailwind
colors: {
custom: {
50: '#9889d9',
500: '#665bc7',
950: '#000000',
},
}SCSS
$custom: #665bc7; $custom-light: #9889d9; $custom-dark: #000000;
JSON
{
"hex": "#665bc7",
"rgb": {
"r": 102,
"g": 91,
"b": 199
},
"hsl": {
"h": 246.111,
"s": 49.091,
"l": 56.863
},
"oklch": {
"l": 0.53782,
"c": 0.16221,
"h": 284.1
},
"luminance": 0.1443
}Semantic roles & 50–950 ramp
primary
#665BC7
secondary
#D0D5A9
accent
#D94FCB
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B15
muted
#7E7C83