#665FD6#665FD6
#665FD6 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.5% C 0.177 H 281.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #665FD6 |
|---|---|
| RGB | rgb(102, 95, 214) |
| HSL | hsl(244, 59%, 61%) |
| HSV | hsv(244, 56%, 84%) |
| CMYK | cmyk(52.3%, 55.6%, 0%, 16.1%) |
| CIE-LAB | lab(46.79, 34.95, -60.59) |
| CIE-LCH | lch(46.79, 69.95, 299.98°) |
| OKLab | oklab(55.55% 0.0356 -0.1733) |
| OKLCH | oklch(55.55% 0.177 281.6) |
| XYZ | xyz(21.7056, 15.8630, 65.5234) |
| Luminance | 0.1586 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 0.72
Slate Blue
#6A5ACD
ΔE00 2.29
Light Indigo
#6D5ACF
ΔE00 2.42
Iris
#6258C4
ΔE00 3.45
Warm Blue
#4B57DB
ΔE00 4.41
Mediumslateblue
#7B68EE
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FD6 #CFD65F
analogous
#5F94D6 #665FD6 #A15FD6
triadic
#665FD6 #D6665F #5FD666
tetradic
#665FD6 #D65F94 #CFD65F #5FD6A1
square
#665FD6 #D65F94 #CFD65F #5FD6A1
split-complementary
#665FD6 #D6A15F #94D65F
monochromatic
#2D2695 #3B33C5 #665FD6 #9590E2 #C3C0EF
Accessibility & contrast
On white
5.03
#665FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#665FD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FD6
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FD6 | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A73DA
Deuteranopia (green-blind)
#006BD3
Tritanopia (blue-blind)
#377A91
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #665fd6; /* rgb */ color: rgb(102, 95, 214); /* oklch */ color: oklch(55.5% 0.177 281.6);
Tailwind
colors: {
custom: {
50: '#9a8ce3',
500: '#665fd6',
950: '#000000',
},
}SCSS
$custom: #665fd6; $custom-light: #9a8ce3; $custom-dark: #000000;
JSON
{
"hex": "#665fd6",
"rgb": {
"r": 102,
"g": 95,
"b": 214
},
"hsl": {
"h": 243.529,
"s": 59.204,
"l": 60.588
},
"oklch": {
"l": 0.5555,
"c": 0.17695,
"h": 281.6
},
"luminance": 0.15864
}Semantic roles & 50–950 ramp
primary
#665FD6
secondary
#DCDFB2
accent
#C71FBD
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C16
muted
#7F7D84