#665ED6#665ED6
#665ED6 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.4% C 0.178 H 281.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #665ED6 |
|---|---|
| RGB | rgb(102, 94, 214) |
| HSL | hsl(244, 59%, 60%) |
| HSV | hsv(244, 56%, 84%) |
| CMYK | cmyk(52.3%, 56.1%, 0%, 16.1%) |
| CIE-LAB | lab(46.56, 35.56, -60.97) |
| CIE-LCH | lch(46.56, 70.58, 300.25°) |
| OKLab | oklab(55.37% 0.0367 -0.1745) |
| OKLCH | oklch(55.37% 0.178 281.9) |
| XYZ | xyz(21.6161, 15.6840, 65.4936) |
| Luminance | 0.1568 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 0.78
Slate Blue
#6A5ACD
ΔE00 2.06
Light Indigo
#6D5ACF
ΔE00 2.20
Iris
#6258C4
ΔE00 3.26
Warm Blue
#4B57DB
ΔE00 4.29
Mediumslateblue
#7B68EE
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665ED6 #CED65E
analogous
#5E92D6 #665ED6 #A25ED6
triadic
#665ED6 #D6665E #5ED666
tetradic
#665ED6 #D65E92 #CED65E #5ED6A2
square
#665ED6 #D65E92 #CED65E #5ED6A2
split-complementary
#665ED6 #D6A25E #92D65E
monochromatic
#2D2694 #3C32C5 #665ED6 #948FE2 #C3C0EF
Accessibility & contrast
On white
5.08
#665ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#665ED6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665ED6
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665ED6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665ED6 | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0173DA
Deuteranopia (green-blind)
#006AD3
Tritanopia (blue-blind)
#377A91
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #665ed6; /* rgb */ color: rgb(102, 94, 214); /* oklch */ color: oklch(55.4% 0.178 281.9);
Tailwind
colors: {
custom: {
50: '#9a8ce3',
500: '#665ed6',
950: '#000000',
},
}SCSS
$custom: #665ed6; $custom-light: #9a8ce3; $custom-dark: #000000;
JSON
{
"hex": "#665ed6",
"rgb": {
"r": 102,
"g": 94,
"b": 214
},
"hsl": {
"h": 244,
"s": 59.406,
"l": 60.392
},
"oklch": {
"l": 0.55374,
"c": 0.17828,
"h": 281.9
},
"luminance": 0.15685
}Semantic roles & 50–950 ramp
primary
#665ED6
secondary
#DCDFB1
accent
#C71EBC
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C16
muted
#7F7D84