#665BB2#665BB2
#665BB2 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.4% C 0.133 H 286.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #665BB2 |
|---|---|
| RGB | rgb(102, 91, 178) |
| HSL | hsl(248, 36%, 53%) |
| HSV | hsv(248, 49%, 70%) |
| CMYK | cmyk(42.7%, 48.9%, 0%, 30.2%) |
| CIE-LAB | lab(43.54, 26.48, -45.00) |
| CIE-LCH | lch(43.54, 52.22, 300.48°) |
| OKLab | oklab(52.39% 0.0381 -0.1275) |
| OKLCH | oklch(52.39% 0.133 286.6) |
| XYZ | xyz(17.2542, 13.5207, 43.8115) |
| Luminance | 0.1352 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.33
Slate Blue
#6A5ACD
ΔE00 4.38
Light Indigo
#6D5ACF
ΔE00 4.76
Dark Periwinkle
#665FD1
ΔE00 5.08
Royal Purple
#7851A9
ΔE00 6.04
Warm Blue
#4B57DB
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665BB2 #A7B25B
analogous
#5B7BB2 #665BB2 #915BB2
triadic
#665BB2 #B2665B #5BB266
tetradic
#665BB2 #B25B7B #A7B25B #5BB291
square
#665BB2 #B25B7B #A7B25B #5BB291
split-complementary
#665BB2 #B2915B #7BB25B
monochromatic
#362F64 #4C428D #665BB2 #8D85C6 #B4AED9
Accessibility & contrast
On white
5.67
#665BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#665BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665BB2
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665BB2 | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3869B5
Deuteranopia (green-blind)
#3664B0
Tritanopia (blue-blind)
#4F6D7E
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #665bb2; /* rgb */ color: rgb(102, 91, 178); /* oklch */ color: oklch(52.4% 0.133 286.6);
Tailwind
colors: {
custom: {
50: '#9689c9',
500: '#665bb2',
950: '#000000',
},
}SCSS
$custom: #665bb2; $custom-light: #9689c9; $custom-dark: #000000;
JSON
{
"hex": "#665bb2",
"rgb": {
"r": 102,
"g": 91,
"b": 178
},
"hsl": {
"h": 247.586,
"s": 36.1,
"l": 52.745
},
"oklch": {
"l": 0.52386,
"c": 0.13313,
"h": 286.6
},
"luminance": 0.13521
}Semantic roles & 50–950 ramp
primary
#665BB2
secondary
#C2C7A2
accent
#CC5CBE
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B13
muted
#7E7C82