#665EBC#665EBC
#665EBC is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.6% C 0.143 H 284.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #665EBC |
|---|---|
| RGB | rgb(102, 94, 188) |
| HSL | hsl(245, 41%, 55%) |
| HSV | hsv(245, 50%, 74%) |
| CMYK | cmyk(45.7%, 50%, 0%, 26.3%) |
| CIE-LAB | lab(44.89, 27.62, -48.68) |
| CIE-LCH | lch(44.89, 55.98, 299.57°) |
| OKLab | oklab(53.59% 0.0354 -0.1383) |
| OKLCH | oklch(53.59% 0.143 284.3) |
| XYZ | xyz(18.5566, 14.4602, 49.3805) |
| Luminance | 0.1446 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.43
Slate Blue
#6A5ACD
ΔE00 3.09
Dark Periwinkle
#665FD1
ΔE00 3.27
Light Indigo
#6D5ACF
ΔE00 3.52
Warm Blue
#4B57DB
ΔE00 6.29
Royal Purple
#7851A9
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665EBC #B4BC5E
analogous
#5E85BC #665EBC #955EBC
triadic
#665EBC #BC665E #5EBC66
tetradic
#665EBC #BC5E85 #B4BC5E #5EBC95
square
#665EBC #BC5E85 #B4BC5E #5EBC95
split-complementary
#665EBC #BC955E #85BC5E
monochromatic
#342F71 #49419C #665EBC #8F89CE #B8B4E0
Accessibility & contrast
On white
5.40
#665EBC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#665EBC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665EBC
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665EBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665EBC | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#356DBF
Deuteranopia (green-blind)
#3167BA
Tritanopia (blue-blind)
#4A7284
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #665ebc; /* rgb */ color: rgb(102, 94, 188); /* oklch */ color: oklch(53.6% 0.143 284.3);
Tailwind
colors: {
custom: {
50: '#978bd1',
500: '#665ebc',
950: '#000000',
},
}SCSS
$custom: #665ebc; $custom-light: #978bd1; $custom-dark: #000000;
JSON
{
"hex": "#665ebc",
"rgb": {
"r": 102,
"g": 94,
"b": 188
},
"hsl": {
"h": 245.106,
"s": 41.228,
"l": 55.294
},
"oklch": {
"l": 0.53592,
"c": 0.1428,
"h": 284.3
},
"luminance": 0.14461
}Semantic roles & 50–950 ramp
primary
#665EBC
secondary
#CBCFA7
accent
#D157C7
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82