#665ED7#665ED7
#665ED7 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.4% C 0.180 H 281.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #665ED7 |
|---|---|
| RGB | rgb(102, 94, 215) |
| HSL | hsl(244, 60%, 61%) |
| HSV | hsv(244, 56%, 84%) |
| CMYK | cmyk(52.6%, 56.3%, 0%, 15.7%) |
| CIE-LAB | lab(46.63, 35.86, -61.43) |
| CIE-LCH | lch(46.63, 71.13, 300.28°) |
| OKLab | oklab(55.45% 0.0367 -0.1758) |
| OKLCH | oklch(55.45% 0.18 281.8) |
| XYZ | xyz(21.7442, 15.7352, 66.1682) |
| Luminance | 0.1574 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 0.91
Slate Blue
#6A5ACD
ΔE00 2.15
Light Indigo
#6D5ACF
ΔE00 2.27
Iris
#6258C4
ΔE00 3.38
Warm Blue
#4B57DB
ΔE00 4.27
Mediumslateblue
#7B68EE
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665ED7 #CFD75E
analogous
#5E92D7 #665ED7 #A25ED7
triadic
#665ED7 #D7665E #5ED766
tetradic
#665ED7 #D75E92 #CFD75E #5ED7A2
square
#665ED7 #D75E92 #CFD75E #5ED7A2
split-complementary
#665ED7 #D7A25E #92D75E
monochromatic
#2D2595 #3B31C6 #665ED7 #958FE3 #C3C0EF
Accessibility & contrast
On white
5.06
#665ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#665ED7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665ED7
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665ED7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665ED7 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073DB
Deuteranopia (green-blind)
#006AD4
Tritanopia (blue-blind)
#367A91
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #665ed7; /* rgb */ color: rgb(102, 94, 215); /* oklch */ color: oklch(55.4% 0.180 281.8);
Tailwind
colors: {
custom: {
50: '#9a8ce4',
500: '#665ed7',
950: '#000000',
},
}SCSS
$custom: #665ed7; $custom-light: #9a8ce4; $custom-dark: #000000;
JSON
{
"hex": "#665ed7",
"rgb": {
"r": 102,
"g": 94,
"b": 215
},
"hsl": {
"h": 243.967,
"s": 60.199,
"l": 60.588
},
"oklch": {
"l": 0.55446,
"c": 0.1796,
"h": 281.8
},
"luminance": 0.15736
}Semantic roles & 50–950 ramp
primary
#665ED7
secondary
#DCDFB1
accent
#C81EBD
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C16
muted
#7F7D84