#665BA2#665BA2
#665BA2 is a mid, moderate blue. Relative luminance 0.129; OKLCH L 51.4% C 0.110 H 289.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #665BA2 |
|---|---|
| RGB | rgb(102, 91, 162) |
| HSL | hsl(249, 28%, 50%) |
| HSV | hsv(249, 44%, 64%) |
| CMYK | cmyk(37%, 43.8%, 0%, 36.5%) |
| CIE-LAB | lab(42.64, 21.84, -36.99) |
| CIE-LCH | lch(42.64, 42.96, 300.55°) |
| OKLab | oklab(51.41% 0.0359 -0.1041) |
| OKLCH | oklch(51.41% 0.11 289) |
| XYZ | xyz(15.7404, 12.9152, 35.8390) |
| Luminance | 0.1292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Purple
#7851A9
ΔE00 5.86
Twilight
#4E518B
ΔE00 6.19
Iris
#6258C4
ΔE00 6.32
Slate Blue
#6A5ACD
ΔE00 7.36
Dusk
#4E5481
ΔE00 7.53
Light Indigo
#6D5ACF
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665BA2 #97A25B
analogous
#5B74A2 #665BA2 #8A5BA2
triadic
#665BA2 #A2665B #5BA266
tetradic
#665BA2 #A25B74 #97A25B #5BA28A
square
#665BA2 #A25B74 #97A25B #5BA28A
split-complementary
#665BA2 #A28A5B #74A25B
monochromatic
#352F54 #4D457B #665BA2 #8A82B9 #AFA9CF
Accessibility & contrast
On white
5.86
#665BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#665BA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665BA2
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665BA2 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4366A5
Deuteranopia (green-blind)
#4363A0
Tritanopia (blue-blind)
#576976
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #665ba2; /* rgb */ color: rgb(102, 91, 162); /* oklch */ color: oklch(51.4% 0.110 289.0);
Tailwind
colors: {
custom: {
50: '#9489be',
500: '#665ba2',
950: '#000000',
},
}SCSS
$custom: #665ba2; $custom-light: #9489be; $custom-dark: #000000;
JSON
{
"hex": "#665ba2",
"rgb": {
"r": 102,
"g": 91,
"b": 162
},
"hsl": {
"h": 249.296,
"s": 28.063,
"l": 49.608
},
"oklch": {
"l": 0.51412,
"c": 0.11015,
"h": 289
},
"luminance": 0.12916
}Semantic roles & 50–950 ramp
primary
#665BA2
secondary
#B8BD9C
accent
#C463B5
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0B12
muted
#7E7C81