#665BB7#665BB7
#665BB7 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.7% C 0.140 H 286.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #665BB7 |
|---|---|
| RGB | rgb(102, 91, 183) |
| HSL | hsl(247, 39%, 54%) |
| HSV | hsv(247, 50%, 72%) |
| CMYK | cmyk(44.3%, 50.3%, 0%, 28.2%) |
| CIE-LAB | lab(43.84, 27.96, -47.45) |
| CIE-LCH | lch(43.84, 55.08, 300.51°) |
| OKLab | oklab(52.71% 0.0386 -0.1347) |
| OKLCH | oklch(52.71% 0.14 286) |
| XYZ | xyz(17.7654, 13.7251, 46.5037) |
| Luminance | 0.1373 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.51
Slate Blue
#6A5ACD
ΔE00 3.54
Light Indigo
#6D5ACF
ΔE00 3.95
Dark Periwinkle
#665FD1
ΔE00 4.25
Royal Purple
#7851A9
ΔE00 6.36
Warm Blue
#4B57DB
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665BB7 #ACB75B
analogous
#5B7EB7 #665BB7 #945BB7
triadic
#665BB7 #B7665B #5BB766
tetradic
#665BB7 #B75B7E #ACB75B #5BB794
square
#665BB7 #B75B7E #ACB75B #5BB794
split-complementary
#665BB7 #B7945B #7EB75B
monochromatic
#352E69 #4B4194 #665BB7 #8E86CA #B5B0DC
Accessibility & contrast
On white
5.61
#665BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#665BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665BB7
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665BB7 | 1.00 | 5.61 | 3.75 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#336ABA
Deuteranopia (green-blind)
#3165B5
Tritanopia (blue-blind)
#4D6E80
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #665bb7; /* rgb */ color: rgb(102, 91, 183); /* oklch */ color: oklch(52.7% 0.140 286.0);
Tailwind
colors: {
custom: {
50: '#9689cd',
500: '#665bb7',
950: '#000000',
},
}SCSS
$custom: #665bb7; $custom-light: #9689cd; $custom-dark: #000000;
JSON
{
"hex": "#665bb7",
"rgb": {
"r": 102,
"g": 91,
"b": 183
},
"hsl": {
"h": 247.174,
"s": 38.983,
"l": 53.725
},
"oklch": {
"l": 0.52707,
"c": 0.14017,
"h": 286
},
"luminance": 0.13726
}Semantic roles & 50–950 ramp
primary
#665BB7
secondary
#C6CBA3
accent
#CF59C1
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B13
muted
#7E7C82