#665EE5#665EE5
#665EE5 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.5% C 0.198 H 280.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #665EE5 |
|---|---|
| RGB | rgb(102, 94, 229) |
| HSL | hsl(244, 72%, 63%) |
| HSV | hsv(244, 59%, 90%) |
| CMYK | cmyk(55.5%, 59%, 0%, 10.2%) |
| CIE-LAB | lab(47.61, 40.19, -67.79) |
| CIE-LCH | lch(47.61, 78.81, 300.67°) |
| OKLab | oklab(56.48% 0.0365 -0.1945) |
| OKLCH | oklch(56.48% 0.198 280.6) |
| XYZ | xyz(23.6206, 16.4858, 76.0509) |
| Luminance | 0.1649 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.78
Light Indigo
#6D5ACF
ΔE00 3.65
Slate Blue
#6A5ACD
ΔE00 3.74
Warm Blue
#4B57DB
ΔE00 4.63
Mediumslateblue
#7B68EE
ΔE00 4.77
Iris
#6258C4
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665EE5 #DDE55E
analogous
#5E99E5 #665EE5 #AA5EE5
triadic
#665EE5 #E5665E #5EE566
tetradic
#665EE5 #E55E99 #DDE55E #5EE5AA
square
#665EE5 #E55E99 #DDE55E #5EE5AA
split-complementary
#665EE5 #E5AA5E #99E55E
monochromatic
#241CAD #3429DC #665EE5 #9893EE #CAC7F6
Accessibility & contrast
On white
4.89
#665EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#665EE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665EE5
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665EE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665EE5 | 1.00 | 4.89 | 4.30 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#006CE2
Tritanopia (blue-blind)
#257E98
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #665ee5; /* rgb */ color: rgb(102, 94, 229); /* oklch */ color: oklch(56.5% 0.198 280.6);
Tailwind
colors: {
custom: {
50: '#9c8cee',
500: '#665ee5',
950: '#000000',
},
}SCSS
$custom: #665ee5; $custom-light: #9c8cee; $custom-dark: #000000;
JSON
{
"hex": "#665ee5",
"rgb": {
"r": 102,
"g": 94,
"b": 229
},
"hsl": {
"h": 243.556,
"s": 72.193,
"l": 63.333
},
"oklch": {
"l": 0.5648,
"c": 0.19792,
"h": 280.6
},
"luminance": 0.16487
}Semantic roles & 50–950 ramp
primary
#665EE5
secondary
#E5E7B7
accent
#D411C9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84