#665BB6#665BB6
#665BB6 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.6% C 0.139 H 286.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #665BB6 |
|---|---|
| RGB | rgb(102, 91, 182) |
| HSL | hsl(247, 38%, 54%) |
| HSV | hsv(247, 50%, 71%) |
| CMYK | cmyk(44%, 50%, 0%, 28.6%) |
| CIE-LAB | lab(43.78, 27.67, -46.96) |
| CIE-LCH | lch(43.78, 54.51, 300.50°) |
| OKLab | oklab(52.64% 0.0385 -0.1333) |
| OKLCH | oklch(52.64% 0.139 286.1) |
| XYZ | xyz(17.6616, 13.6836, 45.9575) |
| Luminance | 0.1368 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.67
Slate Blue
#6A5ACD
ΔE00 3.71
Light Indigo
#6D5ACF
ΔE00 4.10
Dark Periwinkle
#665FD1
ΔE00 4.41
Royal Purple
#7851A9
ΔE00 6.29
Warm Blue
#4B57DB
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665BB6 #ABB65B
analogous
#5B7DB6 #665BB6 #935BB6
triadic
#665BB6 #B6665B #5BB666
tetradic
#665BB6 #B65B7D #ABB65B #5BB693
square
#665BB6 #B65B7D #ABB65B #5BB693
split-complementary
#665BB6 #B6935B #7DB65B
monochromatic
#352E68 #4B4193 #665BB6 #8E85C9 #B5B0DC
Accessibility & contrast
On white
5.62
#665BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#665BB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665BB6
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665BB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665BB6 | 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)
#346AB9
Deuteranopia (green-blind)
#3265B4
Tritanopia (blue-blind)
#4D6E80
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #665bb6; /* rgb */ color: rgb(102, 91, 182); /* oklch */ color: oklch(52.6% 0.139 286.1);
Tailwind
colors: {
custom: {
50: '#9689cc',
500: '#665bb6',
950: '#000000',
},
}SCSS
$custom: #665bb6; $custom-light: #9689cc; $custom-dark: #000000;
JSON
{
"hex": "#665bb6",
"rgb": {
"r": 102,
"g": 91,
"b": 182
},
"hsl": {
"h": 247.253,
"s": 38.397,
"l": 53.529
},
"oklch": {
"l": 0.52642,
"c": 0.13877,
"h": 286.1
},
"luminance": 0.13684
}Semantic roles & 50–950 ramp
primary
#665BB6
secondary
#C5CAA3
accent
#CE59C0
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B13
muted
#7E7C82