#665EE1#665EE1
#665EE1 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 56.2% C 0.193 H 280.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #665EE1 |
|---|---|
| RGB | rgb(102, 94, 225) |
| HSL | hsl(244, 69%, 63%) |
| HSV | hsv(244, 58%, 88%) |
| CMYK | cmyk(54.7%, 58.2%, 0%, 11.8%) |
| CIE-LAB | lab(47.32, 38.96, -65.99) |
| CIE-LCH | lch(47.32, 76.63, 300.56°) |
| OKLab | oklab(56.18% 0.0366 -0.1892) |
| OKLCH | oklch(56.18% 0.193 280.9) |
| XYZ | xyz(23.0686, 16.2650, 73.1434) |
| Luminance | 0.1627 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.25
Light Indigo
#6D5ACF
ΔE00 3.20
Slate Blue
#6A5ACD
ΔE00 3.26
Warm Blue
#4B57DB
ΔE00 4.44
Iris
#6258C4
ΔE00 4.62
Mediumslateblue
#7B68EE
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665EE1 #D9E15E
analogous
#5E98E1 #665EE1 #A75EE1
triadic
#665EE1 #E1665E #5EE166
tetradic
#665EE1 #E15E98 #D9E15E #5EE1A7
square
#665EE1 #E15E98 #D9E15E #5EE1A7
split-complementary
#665EE1 #E1A75E #98E15E
monochromatic
#271FA6 #352AD7 #665EE1 #9792EB #C8C5F4
Accessibility & contrast
On white
4.94
#665EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#665EE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665EE1
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665EE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665EE1 | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#006BDE
Tritanopia (blue-blind)
#2A7D96
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #665ee1; /* rgb */ color: rgb(102, 94, 225); /* oklch */ color: oklch(56.2% 0.193 280.9);
Tailwind
colors: {
custom: {
50: '#9c8ceb',
500: '#665ee1',
950: '#000000',
},
}SCSS
$custom: #665ee1; $custom-light: #9c8ceb; $custom-dark: #000000;
JSON
{
"hex": "#665ee1",
"rgb": {
"r": 102,
"g": 94,
"b": 225
},
"hsl": {
"h": 243.664,
"s": 68.586,
"l": 62.549
},
"oklch": {
"l": 0.5618,
"c": 0.19274,
"h": 280.9
},
"luminance": 0.16266
}Semantic roles & 50–950 ramp
primary
#665EE1
secondary
#E2E5B6
accent
#D115C5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84