#665ED9#665ED9
#665ED9 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.6% C 0.182 H 281.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #665ED9 |
|---|---|
| RGB | rgb(102, 94, 217) |
| HSL | hsl(244, 62%, 61%) |
| HSV | hsv(244, 57%, 85%) |
| CMYK | cmyk(53%, 56.7%, 0%, 14.9%) |
| CIE-LAB | lab(46.76, 36.48, -62.35) |
| CIE-LCH | lch(46.76, 72.24, 300.33°) |
| OKLab | oklab(55.59% 0.0367 -0.1785) |
| OKLCH | oklch(55.59% 0.182 281.6) |
| XYZ | xyz(22.0027, 15.8386, 67.5299) |
| Luminance | 0.1584 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.17
Slate Blue
#6A5ACD
ΔE00 2.35
Light Indigo
#6D5ACF
ΔE00 2.42
Iris
#6258C4
ΔE00 3.62
Warm Blue
#4B57DB
ΔE00 4.27
Mediumslateblue
#7B68EE
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665ED9 #D1D95E
analogous
#5E93D9 #665ED9 #A35ED9
triadic
#665ED9 #D9665E #5ED966
tetradic
#665ED9 #D95E93 #D1D95E #5ED9A3
square
#665ED9 #D95E93 #D1D95E #5ED9A3
split-complementary
#665ED9 #D9A35E #93D95E
monochromatic
#2C2499 #3A30CA #665ED9 #9590E5 #C4C1F0
Accessibility & contrast
On white
5.04
#665ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#665ED9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665ED9
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665ED9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665ED9 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073DD
Deuteranopia (green-blind)
#006AD6
Tritanopia (blue-blind)
#347A92
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #665ed9; /* rgb */ color: rgb(102, 94, 217); /* oklch */ color: oklch(55.6% 0.182 281.6);
Tailwind
colors: {
custom: {
50: '#9a8ce6',
500: '#665ed9',
950: '#000000',
},
}SCSS
$custom: #665ed9; $custom-light: #9a8ce6; $custom-dark: #000000;
JSON
{
"hex": "#665ed9",
"rgb": {
"r": 102,
"g": 94,
"b": 217
},
"hsl": {
"h": 243.902,
"s": 61.809,
"l": 60.98
},
"oklch": {
"l": 0.55591,
"c": 0.18225,
"h": 281.6
},
"luminance": 0.1584
}Semantic roles & 50–950 ramp
primary
#665ED9
secondary
#DEE1B2
accent
#CA1CBE
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C16
muted
#7F7D84