#665DD6#665DD6
#665DD6 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.2% C 0.180 H 282.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #665DD6 |
|---|---|
| RGB | rgb(102, 93, 214) |
| HSL | hsl(244, 60%, 60%) |
| HSV | hsv(244, 57%, 84%) |
| CMYK | cmyk(52.3%, 56.5%, 0%, 16.1%) |
| CIE-LAB | lab(46.32, 36.16, -61.35) |
| CIE-LCH | lch(46.32, 71.21, 300.51°) |
| OKLab | oklab(55.2% 0.0377 -0.1756) |
| OKLCH | oklch(55.2% 0.18 282.1) |
| XYZ | xyz(21.5277, 15.5073, 65.4641) |
| Luminance | 0.1551 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 0.94
Slate Blue
#6A5ACD
ΔE00 1.86
Light Indigo
#6D5ACF
ΔE00 2.00
Iris
#6258C4
ΔE00 3.10
Warm Blue
#4B57DB
ΔE00 4.19
Mediumslateblue
#7B68EE
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665DD6 #CDD65D
analogous
#5D90D6 #665DD6 #A35DD6
triadic
#665DD6 #D6665D #5DD666
tetradic
#665DD6 #D65D90 #CDD65D #5DD6A3
square
#665DD6 #D65D90 #CDD65D #5DD6A3
split-complementary
#665DD6 #D6A35D #90D65D
monochromatic
#2D2593 #3D32C4 #665DD6 #948EE2 #C2BFEF
Accessibility & contrast
On white
5.12
#665DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#665DD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665DD6
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665DD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665DD6 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DA
Deuteranopia (green-blind)
#006AD3
Tritanopia (blue-blind)
#377990
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #665dd6; /* rgb */ color: rgb(102, 93, 214); /* oklch */ color: oklch(55.2% 0.180 282.1);
Tailwind
colors: {
custom: {
50: '#9a8be3',
500: '#665dd6',
950: '#000000',
},
}SCSS
$custom: #665dd6; $custom-light: #9a8be3; $custom-dark: #000000;
JSON
{
"hex": "#665dd6",
"rgb": {
"r": 102,
"g": 93,
"b": 214
},
"hsl": {
"h": 244.463,
"s": 59.606,
"l": 60.196
},
"oklch": {
"l": 0.55199,
"c": 0.17961,
"h": 282.1
},
"luminance": 0.15509
}Semantic roles & 50–950 ramp
primary
#665DD6
secondary
#DBDFB0
accent
#C71EBB
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C16
muted
#7F7D84