#665DDE#665DDE
#665DDE is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.8% C 0.190 H 281.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #665DDE |
|---|---|
| RGB | rgb(102, 93, 222) |
| HSL | hsl(244, 66%, 62%) |
| HSV | hsv(244, 58%, 87%) |
| CMYK | cmyk(54.1%, 58.1%, 0%, 12.9%) |
| CIE-LAB | lab(46.88, 38.62, -65.00) |
| CIE-LCH | lch(46.88, 75.61, 300.72°) |
| OKLab | oklab(55.79% 0.0377 -0.1863) |
| OKLCH | oklch(55.79% 0.19 281.4) |
| XYZ | xyz(22.5746, 15.9260, 70.9776) |
| Luminance | 0.1593 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.91
Light Indigo
#6D5ACF
ΔE00 2.74
Slate Blue
#6A5ACD
ΔE00 2.76
Iris
#6258C4
ΔE00 4.11
Warm Blue
#4B57DB
ΔE00 4.23
Mediumslateblue
#7B68EE
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665DDE #D5DE5D
analogous
#5D95DE #665DDE #A75DDE
triadic
#665DDE #DE665D #5DDE66
tetradic
#665DDE #DE5D95 #D5DE5D #5DDEA7
square
#665DDE #DE5D95 #D5DE5D #5DDEA7
split-complementary
#665DDE #DEA75D #95DE5D
monochromatic
#2921A0 #372BD3 #665DDE #9690E8 #C6C3F3
Accessibility & contrast
On white
5.02
#665DDE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#665DDE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665DDE
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665DDE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665DDE | 1.00 | 5.02 | 4.19 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#006ADB
Tritanopia (blue-blind)
#2E7B94
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #665dde; /* rgb */ color: rgb(102, 93, 222); /* oklch */ color: oklch(55.8% 0.190 281.4);
Tailwind
colors: {
custom: {
50: '#9b8be9',
500: '#665dde',
950: '#000000',
},
}SCSS
$custom: #665dde; $custom-light: #9b8be9; $custom-dark: #000000;
JSON
{
"hex": "#665dde",
"rgb": {
"r": 102,
"g": 93,
"b": 222
},
"hsl": {
"h": 244.186,
"s": 66.154,
"l": 61.765
},
"oklch": {
"l": 0.55786,
"c": 0.19011,
"h": 281.4
},
"luminance": 0.15927
}Semantic roles & 50–950 ramp
primary
#665DDE
secondary
#E0E3B4
accent
#CE17C1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84