#665FA4#665FA4
#665FA4 is a mid, moderate blue. Relative luminance 0.137; OKLCH L 52.3% C 0.107 H 286.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #665FA4 |
|---|---|
| RGB | rgb(102, 95, 164) |
| HSL | hsl(246, 27%, 51%) |
| HSV | hsv(246, 42%, 64%) |
| CMYK | cmyk(37.8%, 42.1%, 0%, 35.7%) |
| CIE-LAB | lab(43.78, 19.94, -36.36) |
| CIE-LCH | lch(43.78, 41.47, 298.74°) |
| OKLab | oklab(52.32% 0.0308 -0.1023) |
| OKLCH | oklch(52.32% 0.107 286.7) |
| XYZ | xyz(16.2707, 13.6890, 36.8997) |
| Luminance | 0.1369 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 6.41
Twilight
#4E518B
ΔE00 6.71
Royal Purple
#7851A9
ΔE00 6.95
Slate Blue
#6A5ACD
ΔE00 7.33
Dark Periwinkle
#665FD1
ΔE00 7.64
Light Indigo
#6D5ACF
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FA4 #9DA45F
analogous
#5F7AA4 #665FA4 #885FA4
triadic
#665FA4 #A4665F #5FA466
tetradic
#665FA4 #A45F7A #9DA45F #5FA488
square
#665FA4 #A45F7A #9DA45F #5FA488
split-complementary
#665FA4 #A4885F #7AA45F
monochromatic
#353257 #4D487E #665FA4 #8B86BA #B1ADD0
Accessibility & contrast
On white
5.62
#665FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#665FA4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FA4
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FA4 | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4869A7
Deuteranopia (green-blind)
#4766A2
Tritanopia (blue-blind)
#556C79
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #665fa4; /* rgb */ color: rgb(102, 95, 164); /* oklch */ color: oklch(52.3% 0.107 286.7);
Tailwind
colors: {
custom: {
50: '#948cbf',
500: '#665fa4',
950: '#000000',
},
}SCSS
$custom: #665fa4; $custom-light: #948cbf; $custom-dark: #000000;
JSON
{
"hex": "#665fa4",
"rgb": {
"r": 102,
"g": 95,
"b": 164
},
"hsl": {
"h": 246.087,
"s": 27.49,
"l": 50.784
},
"oklch": {
"l": 0.52318,
"c": 0.10681,
"h": 286.7
},
"luminance": 0.1369
}Semantic roles & 50–950 ramp
primary
#665FA4
secondary
#BCBFA0
accent
#C464BA
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0C12
muted
#7E7D81