#665EBB#665EBB
#665EBB is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.5% C 0.141 H 284.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #665EBB |
|---|---|
| RGB | rgb(102, 94, 187) |
| HSL | hsl(245, 41%, 55%) |
| HSV | hsv(245, 50%, 73%) |
| CMYK | cmyk(45.5%, 49.7%, 0%, 26.7%) |
| CIE-LAB | lab(44.83, 27.32, -48.20) |
| CIE-LCH | lch(44.83, 55.41, 299.55°) |
| OKLab | oklab(53.53% 0.0353 -0.1369) |
| OKLCH | oklch(53.53% 0.141 284.4) |
| XYZ | xyz(18.4492, 14.4172, 48.8148) |
| Luminance | 0.1442 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.54
Slate Blue
#6A5ACD
ΔE00 3.24
Dark Periwinkle
#665FD1
ΔE00 3.43
Light Indigo
#6D5ACF
ΔE00 3.66
Warm Blue
#4B57DB
ΔE00 6.42
Royal Purple
#7851A9
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665EBB #B3BB5E
analogous
#5E85BB #665EBB #945EBB
triadic
#665EBB #BB665E #5EBB66
tetradic
#665EBB #BB5E85 #B3BB5E #5EBB94
square
#665EBB #BB5E85 #B3BB5E #5EBB94
split-complementary
#665EBB #BB945E #85BB5E
monochromatic
#352F70 #49419B #665EBB #8F89CD #B8B4DF
Accessibility & contrast
On white
5.41
#665EBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#665EBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665EBB
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665EBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665EBB | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#366DBE
Deuteranopia (green-blind)
#3267B9
Tritanopia (blue-blind)
#4A7284
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #665ebb; /* rgb */ color: rgb(102, 94, 187); /* oklch */ color: oklch(53.5% 0.141 284.4);
Tailwind
colors: {
custom: {
50: '#978bd0',
500: '#665ebb',
950: '#000000',
},
}SCSS
$custom: #665ebb; $custom-light: #978bd0; $custom-dark: #000000;
JSON
{
"hex": "#665ebb",
"rgb": {
"r": 102,
"g": 94,
"b": 187
},
"hsl": {
"h": 245.161,
"s": 40.611,
"l": 55.098
},
"oklch": {
"l": 0.53527,
"c": 0.14139,
"h": 284.4
},
"luminance": 0.14418
}Semantic roles & 50–950 ramp
primary
#665EBB
secondary
#CBCEA7
accent
#D057C6
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82