#665CA2#665CA2
#665CA2 is a mid, moderate blue. Relative luminance 0.131; OKLCH L 51.6% C 0.109 H 288.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #665CA2 |
|---|---|
| RGB | rgb(102, 92, 162) |
| HSL | hsl(249, 28%, 50%) |
| HSV | hsv(249, 43%, 64%) |
| CMYK | cmyk(37%, 43.2%, 0%, 36.5%) |
| CIE-LAB | lab(42.89, 21.22, -36.58) |
| CIE-LCH | lch(42.89, 42.29, 300.12°) |
| OKLab | oklab(51.61% 0.0345 -0.1029) |
| OKLCH | oklch(51.61% 0.109 288.6) |
| XYZ | xyz(15.8265, 13.0873, 35.8676) |
| Luminance | 0.1309 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Purple
#7851A9
ΔE00 6.13
Twilight
#4E518B
ΔE00 6.26
Iris
#6258C4
ΔE00 6.42
Slate Blue
#6A5ACD
ΔE00 7.43
Dusk
#4E5481
ΔE00 7.50
Light Indigo
#6D5ACF
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665CA2 #98A25C
analogous
#5C75A2 #665CA2 #895CA2
triadic
#665CA2 #A2665C #5CA266
tetradic
#665CA2 #A25C75 #98A25C #5CA289
square
#665CA2 #A25C75 #98A25C #5CA289
split-complementary
#665CA2 #A2895C #75A25C
monochromatic
#353054 #4D467B #665CA2 #8A83B8 #AFAACF
Accessibility & contrast
On white
5.80
#665CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#665CA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665CA2
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665CA2 | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4567A5
Deuteranopia (green-blind)
#4464A0
Tritanopia (blue-blind)
#566977
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #665ca2; /* rgb */ color: rgb(102, 92, 162); /* oklch */ color: oklch(51.6% 0.109 288.6);
Tailwind
colors: {
custom: {
50: '#948abe',
500: '#665ca2',
950: '#000000',
},
}SCSS
$custom: #665ca2; $custom-light: #948abe; $custom-dark: #000000;
JSON
{
"hex": "#665ca2",
"rgb": {
"r": 102,
"g": 92,
"b": 162
},
"hsl": {
"h": 248.571,
"s": 27.559,
"l": 49.804
},
"oklch": {
"l": 0.51609,
"c": 0.10857,
"h": 288.6
},
"luminance": 0.13088
}Semantic roles & 50–950 ramp
primary
#665CA2
secondary
#B8BD9D
accent
#C464B6
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0B12
muted
#7E7C81