#665FD7#665FD7
#665FD7 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.6% C 0.178 H 281.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #665FD7 |
|---|---|
| RGB | rgb(102, 95, 215) |
| HSL | hsl(244, 60%, 61%) |
| HSV | hsv(244, 56%, 84%) |
| CMYK | cmyk(52.6%, 55.8%, 0%, 15.7%) |
| CIE-LAB | lab(46.86, 35.26, -61.05) |
| CIE-LCH | lch(46.86, 70.50, 300.01°) |
| OKLab | oklab(55.62% 0.0356 -0.1747) |
| OKLCH | oklch(55.62% 0.178 281.5) |
| XYZ | xyz(21.8337, 15.9142, 66.1981) |
| Luminance | 0.1592 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 0.86
Slate Blue
#6A5ACD
ΔE00 2.37
Light Indigo
#6D5ACF
ΔE00 2.49
Iris
#6258C4
ΔE00 3.57
Warm Blue
#4B57DB
ΔE00 4.39
Mediumslateblue
#7B68EE
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FD7 #D0D75F
analogous
#5F94D7 #665FD7 #A25FD7
triadic
#665FD7 #D7665F #5FD766
tetradic
#665FD7 #D75F94 #D0D75F #5FD7A2
square
#665FD7 #D75F94 #D0D75F #5FD7A2
split-complementary
#665FD7 #D7A25F #94D75F
monochromatic
#2C2696 #3A32C7 #665FD7 #9590E3 #C4C1EF
Accessibility & contrast
On white
5.02
#665FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#665FD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FD7
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FD7 | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0573DB
Deuteranopia (green-blind)
#006BD4
Tritanopia (blue-blind)
#367B92
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #665fd7; /* rgb */ color: rgb(102, 95, 215); /* oklch */ color: oklch(55.6% 0.178 281.5);
Tailwind
colors: {
custom: {
50: '#9a8ce4',
500: '#665fd7',
950: '#000000',
},
}SCSS
$custom: #665fd7; $custom-light: #9a8ce4; $custom-dark: #000000;
JSON
{
"hex": "#665fd7",
"rgb": {
"r": 102,
"g": 95,
"b": 215
},
"hsl": {
"h": 243.5,
"s": 60,
"l": 60.784
},
"oklch": {
"l": 0.55621,
"c": 0.17828,
"h": 281.5
},
"luminance": 0.15915
}Semantic roles & 50–950 ramp
primary
#665FD7
secondary
#DDE0B2
accent
#C81EBE
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C16
muted
#7F7D84