#665CD9#665CD9
#665CD9 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.2% C 0.185 H 282.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #665CD9 |
|---|---|
| RGB | rgb(102, 92, 217) |
| HSL | hsl(245, 62%, 61%) |
| HSV | hsv(245, 58%, 85%) |
| CMYK | cmyk(53%, 57.6%, 0%, 14.9%) |
| CIE-LAB | lab(46.29, 37.68, -63.11) |
| CIE-LCH | lch(46.29, 73.50, 300.84°) |
| OKLab | oklab(55.25% 0.0388 -0.1808) |
| OKLCH | oklch(55.25% 0.185 282.1) |
| XYZ | xyz(21.8272, 15.4875, 67.4714) |
| Luminance | 0.1549 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.45
Slate Blue
#6A5ACD
ΔE00 2.04
Light Indigo
#6D5ACF
ΔE00 2.10
Iris
#6258C4
ΔE00 3.35
Warm Blue
#4B57DB
ΔE00 4.08
Mediumslateblue
#7B68EE
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665CD9 #CFD95C
analogous
#5C90D9 #665CD9 #A45CD9
triadic
#665CD9 #D9665C #5CD966
tetradic
#665CD9 #D95C90 #CFD95C #5CD9A4
square
#665CD9 #D95C90 #CFD95C #5CD9A4
split-complementary
#665CD9 #D9A45C #90D95C
monochromatic
#2D2397 #3B2FC9 #665CD9 #958EE5 #C3BFF0
Accessibility & contrast
On white
5.12
#665CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#665CD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665CD9
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665CD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665CD9 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#0069D6
Tritanopia (blue-blind)
#347992
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #665cd9; /* rgb */ color: rgb(102, 92, 217); /* oklch */ color: oklch(55.2% 0.185 282.1);
Tailwind
colors: {
custom: {
50: '#9a8ae6',
500: '#665cd9',
950: '#000000',
},
}SCSS
$custom: #665cd9; $custom-light: #9a8ae6; $custom-dark: #000000;
JSON
{
"hex": "#665cd9",
"rgb": {
"r": 102,
"g": 92,
"b": 217
},
"hsl": {
"h": 244.8,
"s": 62.189,
"l": 60.588
},
"oklch": {
"l": 0.55245,
"c": 0.18487,
"h": 282.1
},
"luminance": 0.15489
}Semantic roles & 50–950 ramp
primary
#665CD9
secondary
#DCE0B1
accent
#CA1CBC
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C16
muted
#7F7D84