#665FD2#665FD2
#665FD2 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.3% C 0.172 H 281.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #665FD2 |
|---|---|
| RGB | rgb(102, 95, 210) |
| HSL | hsl(244, 56%, 60%) |
| HSV | hsv(244, 55%, 82%) |
| CMYK | cmyk(51.4%, 54.8%, 0%, 17.6%) |
| CIE-LAB | lab(46.53, 33.72, -58.73) |
| CIE-LCH | lch(46.53, 67.73, 299.86°) |
| OKLab | oklab(55.27% 0.0355 -0.1679) |
| OKLCH | oklch(55.27% 0.172 281.9) |
| XYZ | xyz(21.2010, 15.6612, 62.8660) |
| Luminance | 0.1566 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 0.15
Slate Blue
#6A5ACD
ΔE00 2.01
Light Indigo
#6D5ACF
ΔE00 2.24
Iris
#6258C4
ΔE00 3.03
Warm Blue
#4B57DB
ΔE00 4.50
Mediumslateblue
#7B68EE
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FD2 #CBD25F
analogous
#5F92D2 #665FD2 #9F5FD2
triadic
#665FD2 #D2665F #5FD266
tetradic
#665FD2 #D25F92 #CBD25F #5FD29F
square
#665FD2 #D25F92 #CBD25F #5FD29F
split-complementary
#665FD2 #D29F5F #92D25F
monochromatic
#2E288F #3E36BE #665FD2 #948FDF #C1BFED
Accessibility & contrast
On white
5.08
#665FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#665FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FD2
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FD2 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1772D6
Deuteranopia (green-blind)
#016AD0
Tritanopia (blue-blind)
#3A798F
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #665fd2; /* rgb */ color: rgb(102, 95, 210); /* oklch */ color: oklch(55.3% 0.172 281.9);
Tailwind
colors: {
custom: {
50: '#998ce0',
500: '#665fd2',
950: '#000000',
},
}SCSS
$custom: #665fd2; $custom-light: #998ce0; $custom-dark: #000000;
JSON
{
"hex": "#665fd2",
"rgb": {
"r": 102,
"g": 95,
"b": 210
},
"hsl": {
"h": 243.652,
"s": 56.098,
"l": 59.804
},
"oklch": {
"l": 0.55266,
"c": 0.1716,
"h": 281.9
},
"luminance": 0.15662
}Semantic roles & 50–950 ramp
primary
#665FD2
secondary
#DADDB0
accent
#DF48D6
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83