#665EE3#665EE3
#665EE3 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.3% C 0.195 H 280.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #665EE3 |
|---|---|
| RGB | rgb(102, 94, 227) |
| HSL | hsl(244, 70%, 63%) |
| HSV | hsv(244, 59%, 89%) |
| CMYK | cmyk(55.1%, 58.6%, 0%, 11%) |
| CIE-LAB | lab(47.46, 39.57, -66.89) |
| CIE-LCH | lch(47.46, 77.72, 300.61°) |
| OKLab | oklab(56.33% 0.0366 -0.1919) |
| OKLCH | oklch(56.33% 0.195 280.8) |
| XYZ | xyz(23.3430, 16.3748, 74.5887) |
| Luminance | 0.1638 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.51
Light Indigo
#6D5ACF
ΔE00 3.42
Slate Blue
#6A5ACD
ΔE00 3.50
Warm Blue
#4B57DB
ΔE00 4.53
Iris
#6258C4
ΔE00 4.87
Mediumslateblue
#7B68EE
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665EE3 #DBE35E
analogous
#5E98E3 #665EE3 #A85EE3
triadic
#665EE3 #E3665E #5EE366
tetradic
#665EE3 #E35E98 #DBE35E #5EE3A8
square
#665EE3 #E35E98 #DBE35E #5EE3A8
split-complementary
#665EE3 #E3A85E #98E35E
monochromatic
#261DA9 #342ADA #665EE3 #9892EC #C9C6F5
Accessibility & contrast
On white
4.91
#665EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#665EE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665EE3
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665EE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665EE3 | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#006CE0
Tritanopia (blue-blind)
#287E97
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #665ee3; /* rgb */ color: rgb(102, 94, 227); /* oklch */ color: oklch(56.3% 0.195 280.8);
Tailwind
colors: {
custom: {
50: '#9c8ced',
500: '#665ee3',
950: '#000000',
},
}SCSS
$custom: #665ee3; $custom-light: #9c8ced; $custom-dark: #000000;
JSON
{
"hex": "#665ee3",
"rgb": {
"r": 102,
"g": 94,
"b": 227
},
"hsl": {
"h": 243.609,
"s": 70.37,
"l": 62.941
},
"oklch": {
"l": 0.5633,
"c": 0.19533,
"h": 280.8
},
"luminance": 0.16376
}Semantic roles & 50–950 ramp
primary
#665EE3
secondary
#E3E6B6
accent
#D213C7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84