#665CDD#665CDD
#665CDD is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.5% C 0.190 H 281.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #665CDD |
|---|---|
| RGB | rgb(102, 92, 221) |
| HSL | hsl(245, 65%, 61%) |
| HSV | hsv(245, 58%, 87%) |
| CMYK | cmyk(53.8%, 58.4%, 0%, 13.3%) |
| CIE-LAB | lab(46.58, 38.91, -64.93) |
| CIE-LCH | lch(46.58, 75.69, 300.93°) |
| OKLab | oklab(55.54% 0.0387 -0.1861) |
| OKLCH | oklch(55.54% 0.19 281.7) |
| XYZ | xyz(22.3538, 15.6982, 70.2447) |
| Luminance | 0.1570 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.90
Light Indigo
#6D5ACF
ΔE00 2.51
Slate Blue
#6A5ACD
ΔE00 2.52
Iris
#6258C4
ΔE00 3.87
Warm Blue
#4B57DB
ΔE00 4.13
Mediumslateblue
#7B68EE
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665CDD #D3DD5C
analogous
#5C93DD #665CDD #A75CDD
triadic
#665CDD #DD665C #5CDD66
tetradic
#665CDD #DD5C93 #D3DD5C #5CDDA7
square
#665CDD #DD5C93 #D3DD5C #5CDDA7
split-complementary
#665CDD #DDA75C #93DD5C
monochromatic
#2B219E #382BD0 #665CDD #968FE8 #C5C1F2
Accessibility & contrast
On white
5.07
#665CDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#665CDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665CDD
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665CDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665CDD | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#006ADA
Tritanopia (blue-blind)
#307A94
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #665cdd; /* rgb */ color: rgb(102, 92, 221); /* oklch */ color: oklch(55.5% 0.190 281.7);
Tailwind
colors: {
custom: {
50: '#9b8ae8',
500: '#665cdd',
950: '#000000',
},
}SCSS
$custom: #665cdd; $custom-light: #9b8ae8; $custom-dark: #000000;
JSON
{
"hex": "#665cdd",
"rgb": {
"r": 102,
"g": 92,
"b": 221
},
"hsl": {
"h": 244.651,
"s": 65.482,
"l": 61.373
},
"oklch": {
"l": 0.55542,
"c": 0.19009,
"h": 281.7
},
"luminance": 0.157
}Semantic roles & 50–950 ramp
primary
#665CDD
secondary
#DFE3B2
accent
#CD18BF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84