#665BB0#665BB0
#665BB0 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.3% C 0.130 H 286.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #665BB0 |
|---|---|
| RGB | rgb(102, 91, 176) |
| HSL | hsl(248, 35%, 52%) |
| HSV | hsv(248, 48%, 69%) |
| CMYK | cmyk(42%, 48.3%, 0%, 31%) |
| CIE-LAB | lab(43.42, 25.89, -44.01) |
| CIE-LCH | lch(43.42, 51.07, 300.47°) |
| OKLab | oklab(52.26% 0.0379 -0.1247) |
| OKLCH | oklch(52.26% 0.13 286.9) |
| XYZ | xyz(17.0548, 13.4409, 42.7616) |
| Luminance | 0.1344 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.67
Slate Blue
#6A5ACD
ΔE00 4.73
Light Indigo
#6D5ACF
ΔE00 5.10
Dark Periwinkle
#665FD1
ΔE00 5.42
Royal Purple
#7851A9
ΔE00 5.94
Twilight
#4E518B
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665BB0 #A5B05B
analogous
#5B7AB0 #665BB0 #915BB0
triadic
#665BB0 #B0665B #5BB066
tetradic
#665BB0 #B05B7A #A5B05B #5BB091
square
#665BB0 #B05B7A #A5B05B #5BB091
split-complementary
#665BB0 #B0915B #7AB05B
monochromatic
#362F62 #4C438B #665BB0 #8D84C4 #B3AED8
Accessibility & contrast
On white
5.69
#665BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#665BB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665BB0
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665BB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665BB0 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3969B3
Deuteranopia (green-blind)
#3864AE
Tritanopia (blue-blind)
#506C7D
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #665bb0; /* rgb */ color: rgb(102, 91, 176); /* oklch */ color: oklch(52.3% 0.130 286.9);
Tailwind
colors: {
custom: {
50: '#9689c8',
500: '#665bb0',
950: '#000000',
},
}SCSS
$custom: #665bb0; $custom-light: #9689c8; $custom-dark: #000000;
JSON
{
"hex": "#665bb0",
"rgb": {
"r": 102,
"g": 91,
"b": 176
},
"hsl": {
"h": 247.765,
"s": 34.979,
"l": 52.353
},
"oklch": {
"l": 0.5226,
"c": 0.1303,
"h": 286.9
},
"luminance": 0.13442
}Semantic roles & 50–950 ramp
primary
#665BB0
secondary
#C1C6A1
accent
#CB5DBD
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B13
muted
#7E7C82