#665EE2#665EE2
#665EE2 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 56.3% C 0.194 H 280.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #665EE2 |
|---|---|
| RGB | rgb(102, 94, 226) |
| HSL | hsl(244, 69%, 63%) |
| HSV | hsv(244, 58%, 89%) |
| CMYK | cmyk(54.9%, 58.4%, 0%, 11.4%) |
| CIE-LAB | lab(47.39, 39.26, -66.44) |
| CIE-LCH | lch(47.39, 77.17, 300.58°) |
| OKLab | oklab(56.26% 0.0366 -0.1905) |
| OKLCH | oklch(56.26% 0.194 280.9) |
| XYZ | xyz(23.2054, 16.3197, 73.8640) |
| Luminance | 0.1632 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.38
Light Indigo
#6D5ACF
ΔE00 3.31
Slate Blue
#6A5ACD
ΔE00 3.38
Warm Blue
#4B57DB
ΔE00 4.48
Iris
#6258C4
ΔE00 4.74
Mediumslateblue
#7B68EE
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665EE2 #DAE25E
analogous
#5E98E2 #665EE2 #A85EE2
triadic
#665EE2 #E2665E #5EE266
tetradic
#665EE2 #E25E98 #DAE25E #5EE2A8
square
#665EE2 #E25E98 #DAE25E #5EE2A8
split-complementary
#665EE2 #E2A85E #98E25E
monochromatic
#261EA7 #352AD9 #665EE2 #9792EB #C9C6F5
Accessibility & contrast
On white
4.92
#665EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#665EE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665EE2
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665EE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665EE2 | 1.00 | 4.92 | 4.26 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#006CDF
Tritanopia (blue-blind)
#297D97
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #665ee2; /* rgb */ color: rgb(102, 94, 226); /* oklch */ color: oklch(56.3% 0.194 280.9);
Tailwind
colors: {
custom: {
50: '#9c8cec',
500: '#665ee2',
950: '#000000',
},
}SCSS
$custom: #665ee2; $custom-light: #9c8cec; $custom-dark: #000000;
JSON
{
"hex": "#665ee2",
"rgb": {
"r": 102,
"g": 94,
"b": 226
},
"hsl": {
"h": 243.636,
"s": 69.474,
"l": 62.745
},
"oklch": {
"l": 0.56255,
"c": 0.19403,
"h": 280.9
},
"luminance": 0.16321
}Semantic roles & 50–950 ramp
primary
#665EE2
secondary
#E3E6B6
accent
#D114C6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84