#665FC7#665FC7
#665FC7 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.5% C 0.157 H 282.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #665FC7 |
|---|---|
| RGB | rgb(102, 95, 199) |
| HSL | hsl(244, 48%, 58%) |
| HSV | hsv(244, 52%, 78%) |
| CMYK | cmyk(48.7%, 52.3%, 0%, 22%) |
| CIE-LAB | lab(45.81, 30.35, -53.56) |
| CIE-LCH | lch(45.81, 61.56, 299.53°) |
| OKLab | oklab(54.51% 0.035 -0.1527) |
| OKLCH | oklch(54.51% 0.157 282.9) |
| XYZ | xyz(19.8774, 15.1317, 55.8951) |
| Luminance | 0.1513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.50
Slate Blue
#6A5ACD
ΔE00 2.08
Iris
#6258C4
ΔE00 2.27
Light Indigo
#6D5ACF
ΔE00 2.50
Warm Blue
#4B57DB
ΔE00 5.19
Mediumslateblue
#7B68EE
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FC7 #C0C75F
analogous
#5F8CC7 #665FC7 #9A5FC7
triadic
#665FC7 #C7665F #5FC766
tetradic
#665FC7 #C75F8C #C0C75F #5FC79A
square
#665FC7 #C75F8C #C0C75F #5FC79A
split-complementary
#665FC7 #C79A5F #8CC75F
monochromatic
#322C7F #443CAC #665FC7 #918CD7 #BDBAE7
Accessibility & contrast
On white
5.22
#665FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#665FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FC7
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FC7 | 1.00 | 5.22 | 4.03 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B70CB
Deuteranopia (green-blind)
#2369C5
Tritanopia (blue-blind)
#43768A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #665fc7; /* rgb */ color: rgb(102, 95, 199); /* oklch */ color: oklch(54.5% 0.157 282.9);
Tailwind
colors: {
custom: {
50: '#988cd9',
500: '#665fc7',
950: '#000000',
},
}SCSS
$custom: #665fc7; $custom-light: #988cd9; $custom-dark: #000000;
JSON
{
"hex": "#665fc7",
"rgb": {
"r": 102,
"g": 95,
"b": 199
},
"hsl": {
"h": 244.038,
"s": 48.148,
"l": 57.647
},
"oklch": {
"l": 0.54506,
"c": 0.15665,
"h": 282.9
},
"luminance": 0.15133
}Semantic roles & 50–950 ramp
primary
#665FC7
secondary
#D3D6AC
accent
#D850CF
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C15
muted
#7E7D83