#665EB9#665EB9
#665EB9 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.4% C 0.139 H 284.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #665EB9 |
|---|---|
| RGB | rgb(102, 94, 185) |
| HSL | hsl(245, 39%, 55%) |
| HSV | hsv(245, 49%, 73%) |
| CMYK | cmyk(44.9%, 49.2%, 0%, 27.5%) |
| CIE-LAB | lab(44.71, 26.72, -47.23) |
| CIE-LCH | lch(44.71, 54.26, 299.50°) |
| OKLab | oklab(53.4% 0.0351 -0.1341) |
| OKLCH | oklch(53.4% 0.139 284.7) |
| XYZ | xyz(18.2366, 14.3322, 47.6950) |
| Luminance | 0.1433 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.77
Slate Blue
#6A5ACD
ΔE00 3.54
Dark Periwinkle
#665FD1
ΔE00 3.77
Light Indigo
#6D5ACF
ΔE00 3.94
Warm Blue
#4B57DB
ΔE00 6.69
Royal Purple
#7851A9
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665EB9 #B1B95E
analogous
#5E83B9 #665EB9 #945EB9
triadic
#665EB9 #B9665E #5EB966
tetradic
#665EB9 #B95E83 #B1B95E #5EB994
square
#665EB9 #B95E83 #B1B95E #5EB994
split-complementary
#665EB9 #B9945E #83B95E
monochromatic
#352F6D #4A4298 #665EB9 #8F89CC #B7B3DE
Accessibility & contrast
On white
5.43
#665EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#665EB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665EB9
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665EB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665EB9 | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#376CBC
Deuteranopia (green-blind)
#3467B7
Tritanopia (blue-blind)
#4C7183
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #665eb9; /* rgb */ color: rgb(102, 94, 185); /* oklch */ color: oklch(53.4% 0.139 284.7);
Tailwind
colors: {
custom: {
50: '#968bce',
500: '#665eb9',
950: '#000000',
},
}SCSS
$custom: #665eb9; $custom-light: #968bce; $custom-dark: #000000;
JSON
{
"hex": "#665eb9",
"rgb": {
"r": 102,
"g": 94,
"b": 185
},
"hsl": {
"h": 245.275,
"s": 39.394,
"l": 54.706
},
"oklch": {
"l": 0.53398,
"c": 0.13859,
"h": 284.7
},
"luminance": 0.14333
}Semantic roles & 50–950 ramp
primary
#665EB9
secondary
#C9CDA6
accent
#CF59C5
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82