#665CD2#665CD2
#665CD2 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.7% C 0.176 H 282.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #665CD2 |
|---|---|
| RGB | rgb(102, 92, 210) |
| HSL | hsl(245, 57%, 59%) |
| HSV | hsv(245, 56%, 82%) |
| CMYK | cmyk(51.4%, 56.2%, 0%, 17.6%) |
| CIE-LAB | lab(45.81, 35.53, -59.89) |
| CIE-LCH | lch(45.81, 69.63, 300.68°) |
| OKLab | oklab(54.74% 0.0388 -0.1713) |
| OKLCH | oklch(54.74% 0.176 282.7) |
| XYZ | xyz(20.9360, 15.1311, 62.7777) |
| Luminance | 0.1513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 0.96
Slate Blue
#6A5ACD
ΔE00 1.29
Light Indigo
#6D5ACF
ΔE00 1.59
Iris
#6258C4
ΔE00 2.46
Warm Blue
#4B57DB
ΔE00 4.22
Purpley
#8756E4
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665CD2 #C8D25C
analogous
#5C8DD2 #665CD2 #A15CD2
triadic
#665CD2 #D2665C #5CD266
tetradic
#665CD2 #D25C8D #C8D25C #5CD2A1
square
#665CD2 #D25C8D #C8D25C #5CD2A1
split-complementary
#665CD2 #D2A15C #8DD25C
monochromatic
#2F278D #4034BD #665CD2 #938CDF #C0BCEC
Accessibility & contrast
On white
5.22
#665CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#665CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665CD2
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665CD2 | 1.00 | 5.22 | 4.03 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0370D6
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#3B778E
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #665cd2; /* rgb */ color: rgb(102, 92, 210); /* oklch */ color: oklch(54.7% 0.176 282.7);
Tailwind
colors: {
custom: {
50: '#9a8ae1',
500: '#665cd2',
950: '#000000',
},
}SCSS
$custom: #665cd2; $custom-light: #9a8ae1; $custom-dark: #000000;
JSON
{
"hex": "#665cd2",
"rgb": {
"r": 102,
"g": 92,
"b": 210
},
"hsl": {
"h": 245.085,
"s": 56.731,
"l": 59.216
},
"oklch": {
"l": 0.54736,
"c": 0.17562,
"h": 282.7
},
"luminance": 0.15132
}Semantic roles & 50–950 ramp
primary
#665CD2
secondary
#D8DCAE
accent
#E048D3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83