#665EDE#665EDE
#665EDE is a mid, vivid blue. Relative luminance 0.161; OKLCH L 56.0% C 0.189 H 281.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #665EDE |
|---|---|
| RGB | rgb(102, 94, 222) |
| HSL | hsl(244, 66%, 62%) |
| HSV | hsv(244, 58%, 87%) |
| CMYK | cmyk(54.1%, 57.7%, 0%, 12.9%) |
| CIE-LAB | lab(47.11, 38.03, -64.63) |
| CIE-LCH | lch(47.11, 74.99, 300.47°) |
| OKLab | oklab(55.96% 0.0367 -0.1852) |
| OKLCH | oklch(55.96% 0.189 281.2) |
| XYZ | xyz(22.6629, 16.1027, 71.0070) |
| Luminance | 0.1610 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.85
Light Indigo
#6D5ACF
ΔE00 2.89
Slate Blue
#6A5ACD
ΔE00 2.91
Iris
#6258C4
ΔE00 4.24
Warm Blue
#4B57DB
ΔE00 4.34
Mediumslateblue
#7B68EE
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665EDE #D6DE5E
analogous
#5E96DE #665EDE #A65EDE
triadic
#665EDE #DE665E #5EDE66
tetradic
#665EDE #DE5E96 #D6DE5E #5EDEA6
square
#665EDE #DE5E96 #D6DE5E #5EDEA6
split-complementary
#665EDE #DEA65E #96DE5E
monochromatic
#2921A1 #362BD3 #665EDE #9691E8 #C7C4F3
Accessibility & contrast
On white
4.98
#665EDE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#665EDE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665EDE
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665EDE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665EDE | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#006BDB
Tritanopia (blue-blind)
#2E7C95
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #665ede; /* rgb */ color: rgb(102, 94, 222); /* oklch */ color: oklch(56.0% 0.189 281.2);
Tailwind
colors: {
custom: {
50: '#9b8ce9',
500: '#665ede',
950: '#000000',
},
}SCSS
$custom: #665ede; $custom-light: #9b8ce9; $custom-dark: #000000;
JSON
{
"hex": "#665ede",
"rgb": {
"r": 102,
"g": 94,
"b": 222
},
"hsl": {
"h": 243.75,
"s": 65.979,
"l": 61.961
},
"oklch": {
"l": 0.55957,
"c": 0.18882,
"h": 281.2
},
"luminance": 0.16104
}Semantic roles & 50–950 ramp
primary
#665EDE
secondary
#E1E4B4
accent
#CE18C2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84