#665CB8#665CB8
#665CB8 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.0% C 0.140 H 285.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #665CB8 |
|---|---|
| RGB | rgb(102, 92, 184) |
| HSL | hsl(247, 39%, 54%) |
| HSV | hsv(247, 50%, 72%) |
| CMYK | cmyk(44.6%, 50%, 0%, 27.8%) |
| CIE-LAB | lab(44.15, 27.65, -47.54) |
| CIE-LCH | lch(44.15, 55.00, 300.18°) |
| OKLab | oklab(52.96% 0.0375 -0.135) |
| OKLCH | oklch(52.96% 0.14 285.5) |
| XYZ | xyz(17.9559, 13.9390, 47.0825) |
| Luminance | 0.1394 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.50
Slate Blue
#6A5ACD
ΔE00 3.45
Light Indigo
#6D5ACF
ΔE00 3.86
Dark Periwinkle
#665FD1
ΔE00 4.01
Royal Purple
#7851A9
ΔE00 6.64
Warm Blue
#4B57DB
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665CB8 #AEB85C
analogous
#5C80B8 #665CB8 #945CB8
triadic
#665CB8 #B8665C #5CB866
tetradic
#665CB8 #B85C80 #AEB85C #5CB894
square
#665CB8 #B85C80 #AEB85C #5CB894
split-complementary
#665CB8 #B8945C #80B85C
monochromatic
#352F6B #4A4196 #665CB8 #8E87CB #B6B1DD
Accessibility & contrast
On white
5.54
#665CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#665CB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665CB8
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665CB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665CB8 | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#346BBB
Deuteranopia (green-blind)
#3266B6
Tritanopia (blue-blind)
#4C6F81
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #665cb8; /* rgb */ color: rgb(102, 92, 184); /* oklch */ color: oklch(53.0% 0.140 285.5);
Tailwind
colors: {
custom: {
50: '#968ace',
500: '#665cb8',
950: '#000000',
},
}SCSS
$custom: #665cb8; $custom-light: #968ace; $custom-dark: #000000;
JSON
{
"hex": "#665cb8",
"rgb": {
"r": 102,
"g": 92,
"b": 184
},
"hsl": {
"h": 246.522,
"s": 39.316,
"l": 54.118
},
"oklch": {
"l": 0.52958,
"c": 0.1401,
"h": 285.5
},
"luminance": 0.1394
}Semantic roles & 50–950 ramp
primary
#665CB8
secondary
#C7CBA4
accent
#CF59C2
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B13
muted
#7E7C82