#665CD1#665CD1
#665CD1 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.7% C 0.174 H 282.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #665CD1 |
|---|---|
| RGB | rgb(102, 92, 209) |
| HSL | hsl(245, 56%, 59%) |
| HSV | hsv(245, 56%, 82%) |
| CMYK | cmyk(51.2%, 56%, 0%, 18%) |
| CIE-LAB | lab(45.75, 35.22, -59.42) |
| CIE-LCH | lch(45.75, 69.08, 300.66°) |
| OKLab | oklab(54.66% 0.0387 -0.1699) |
| OKLCH | oklch(54.66% 0.174 282.8) |
| XYZ | xyz(20.8118, 15.0814, 62.1236) |
| Luminance | 0.1508 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 0.95
Slate Blue
#6A5ACD
ΔE00 1.21
Light Indigo
#6D5ACF
ΔE00 1.55
Iris
#6258C4
ΔE00 2.33
Warm Blue
#4B57DB
ΔE00 4.26
Purpley
#8756E4
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665CD1 #C7D15C
analogous
#5C8DD1 #665CD1 #A15CD1
triadic
#665CD1 #D1665C #5CD166
tetradic
#665CD1 #D15C8D #C7D15C #5CD1A1
square
#665CD1 #D15C8D #C7D15C #5CD1A1
split-complementary
#665CD1 #D1A15C #8DD15C
monochromatic
#30278B #4035BB #665CD1 #938CDE #C0BBEC
Accessibility & contrast
On white
5.23
#665CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#665CD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665CD1
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665CD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665CD1 | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0770D5
Deuteranopia (green-blind)
#0068CF
Tritanopia (blue-blind)
#3C778D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #665cd1; /* rgb */ color: rgb(102, 92, 209); /* oklch */ color: oklch(54.7% 0.174 282.8);
Tailwind
colors: {
custom: {
50: '#998ae0',
500: '#665cd1',
950: '#000000',
},
}SCSS
$custom: #665cd1; $custom-light: #998ae0; $custom-dark: #000000;
JSON
{
"hex": "#665cd1",
"rgb": {
"r": 102,
"g": 92,
"b": 209
},
"hsl": {
"h": 245.128,
"s": 55.981,
"l": 59.02
},
"oklch": {
"l": 0.54664,
"c": 0.17429,
"h": 282.8
},
"luminance": 0.15083
}Semantic roles & 50–950 ramp
primary
#665CD1
secondary
#D7DBAD
accent
#DF49D2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83