#665FD9#665FD9
#665FD9 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.8% C 0.181 H 281.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #665FD9 |
|---|---|
| RGB | rgb(102, 95, 217) |
| HSL | hsl(243, 62%, 61%) |
| HSV | hsv(243, 56%, 85%) |
| CMYK | cmyk(53%, 56.2%, 0%, 14.9%) |
| CIE-LAB | lab(47.00, 35.88, -61.97) |
| CIE-LCH | lch(47.00, 71.61, 300.07°) |
| OKLab | oklab(55.77% 0.0356 -0.1774) |
| OKLCH | oklch(55.77% 0.181 281.4) |
| XYZ | xyz(22.0922, 16.0176, 67.5598) |
| Luminance | 0.1602 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.14
Slate Blue
#6A5ACD
ΔE00 2.56
Light Indigo
#6D5ACF
ΔE00 2.63
Iris
#6258C4
ΔE00 3.80
Warm Blue
#4B57DB
ΔE00 4.39
Mediumslateblue
#7B68EE
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FD9 #D2D95F
analogous
#5F95D9 #665FD9 #A35FD9
triadic
#665FD9 #D9665F #5FD966
tetradic
#665FD9 #D95F95 #D2D95F #5FD9A3
square
#665FD9 #D95F95 #D2D95F #5FD9A3
split-complementary
#665FD9 #D9A35F #95D95F
monochromatic
#2B2499 #3930CB #665FD9 #9590E5 #C5C2F0
Accessibility & contrast
On white
5.00
#665FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#665FD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FD9
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FD9 | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#006BD6
Tritanopia (blue-blind)
#347B93
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #665fd9; /* rgb */ color: rgb(102, 95, 217); /* oklch */ color: oklch(55.8% 0.181 281.4);
Tailwind
colors: {
custom: {
50: '#9a8ce5',
500: '#665fd9',
950: '#000000',
},
}SCSS
$custom: #665fd9; $custom-light: #9a8ce5; $custom-dark: #000000;
JSON
{
"hex": "#665fd9",
"rgb": {
"r": 102,
"g": 95,
"b": 217
},
"hsl": {
"h": 243.443,
"s": 61.616,
"l": 61.176
},
"oklch": {
"l": 0.55765,
"c": 0.18094,
"h": 281.4
},
"luminance": 0.16019
}Semantic roles & 50–950 ramp
primary
#665FD9
secondary
#DEE1B3
accent
#C91CBF
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C16
muted
#7F7D84