#665EBA#665EBA
#665EBA is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.5% C 0.140 H 284.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #665EBA |
|---|---|
| RGB | rgb(102, 94, 186) |
| HSL | hsl(245, 40%, 55%) |
| HSV | hsv(245, 49%, 73%) |
| CMYK | cmyk(45.2%, 49.5%, 0%, 27.1%) |
| CIE-LAB | lab(44.77, 27.02, -47.71) |
| CIE-LCH | lch(44.77, 54.83, 299.52°) |
| OKLab | oklab(53.46% 0.0352 -0.1355) |
| OKLCH | oklch(53.46% 0.14 284.6) |
| XYZ | xyz(18.3425, 14.3746, 48.2529) |
| Luminance | 0.1437 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.65
Slate Blue
#6A5ACD
ΔE00 3.38
Dark Periwinkle
#665FD1
ΔE00 3.60
Light Indigo
#6D5ACF
ΔE00 3.80
Warm Blue
#4B57DB
ΔE00 6.55
Royal Purple
#7851A9
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665EBA #B2BA5E
analogous
#5E84BA #665EBA #945EBA
triadic
#665EBA #BA665E #5EBA66
tetradic
#665EBA #BA5E84 #B2BA5E #5EBA94
square
#665EBA #BA5E84 #B2BA5E #5EBA94
split-complementary
#665EBA #BA945E #84BA5E
monochromatic
#352F6E #494299 #665EBA #8F89CC #B7B4DF
Accessibility & contrast
On white
5.42
#665EBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#665EBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665EBA
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665EBA | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#366DBD
Deuteranopia (green-blind)
#3367B8
Tritanopia (blue-blind)
#4B7183
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #665eba; /* rgb */ color: rgb(102, 94, 186); /* oklch */ color: oklch(53.5% 0.140 284.6);
Tailwind
colors: {
custom: {
50: '#968bcf',
500: '#665eba',
950: '#000000',
},
}SCSS
$custom: #665eba; $custom-light: #968bcf; $custom-dark: #000000;
JSON
{
"hex": "#665eba",
"rgb": {
"r": 102,
"g": 94,
"b": 186
},
"hsl": {
"h": 245.217,
"s": 40,
"l": 54.902
},
"oklch": {
"l": 0.53462,
"c": 0.13999,
"h": 284.6
},
"luminance": 0.14375
}Semantic roles & 50–950 ramp
primary
#665EBA
secondary
#CACDA7
accent
#D058C5
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82