#665CB2#665CB2
#665CB2 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.6% C 0.132 H 286.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #665CB2 |
|---|---|
| RGB | rgb(102, 92, 178) |
| HSL | hsl(247, 36%, 53%) |
| HSV | hsv(247, 48%, 70%) |
| CMYK | cmyk(42.7%, 48.3%, 0%, 30.2%) |
| CIE-LAB | lab(43.79, 25.87, -44.60) |
| CIE-LCH | lch(43.79, 51.56, 300.11°) |
| OKLab | oklab(52.58% 0.0369 -0.1264) |
| OKLCH | oklch(52.58% 0.132 286.3) |
| XYZ | xyz(17.3402, 13.6928, 43.8402) |
| Luminance | 0.1369 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.45
Slate Blue
#6A5ACD
ΔE00 4.45
Light Indigo
#6D5ACF
ΔE00 4.83
Dark Periwinkle
#665FD1
ΔE00 5.02
Royal Purple
#7851A9
ΔE00 6.27
Warm Blue
#4B57DB
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665CB2 #A8B25C
analogous
#5C7DB2 #665CB2 #915CB2
triadic
#665CB2 #B2665C #5CB266
tetradic
#665CB2 #B25C7D #A8B25C #5CB291
square
#665CB2 #B25C7D #A8B25C #5CB291
split-complementary
#665CB2 #B2915C #7DB25C
monochromatic
#362F64 #4C438E #665CB2 #8D86C6 #B4AFD9
Accessibility & contrast
On white
5.62
#665CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#665CB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665CB2
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665CB2 | 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)
#3A6AB5
Deuteranopia (green-blind)
#3865B0
Tritanopia (blue-blind)
#4F6E7E
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #665cb2; /* rgb */ color: rgb(102, 92, 178); /* oklch */ color: oklch(52.6% 0.132 286.3);
Tailwind
colors: {
custom: {
50: '#968ac9',
500: '#665cb2',
950: '#000000',
},
}SCSS
$custom: #665cb2; $custom-light: #968ac9; $custom-dark: #000000;
JSON
{
"hex": "#665cb2",
"rgb": {
"r": 102,
"g": 92,
"b": 178
},
"hsl": {
"h": 246.977,
"s": 35.833,
"l": 52.941
},
"oklch": {
"l": 0.52575,
"c": 0.13163,
"h": 286.3
},
"luminance": 0.13693
}Semantic roles & 50–950 ramp
primary
#665CB2
secondary
#C3C7A2
accent
#CC5CBF
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B13
muted
#7E7C82