#665DB9#665DB9
#665DB9 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.2% C 0.140 H 285.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #665DB9 |
|---|---|
| RGB | rgb(102, 93, 185) |
| HSL | hsl(246, 40%, 55%) |
| HSV | hsv(246, 50%, 73%) |
| CMYK | cmyk(44.9%, 49.7%, 0%, 27.5%) |
| CIE-LAB | lab(44.46, 27.34, -47.63) |
| CIE-LCH | lch(44.46, 54.91, 299.85°) |
| OKLab | oklab(53.21% 0.0363 -0.1352) |
| OKLCH | oklch(53.21% 0.14 285) |
| XYZ | xyz(18.1483, 14.1555, 47.6656) |
| Luminance | 0.1416 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.55
Slate Blue
#6A5ACD
ΔE00 3.40
Dark Periwinkle
#665FD1
ΔE00 3.79
Light Indigo
#6D5ACF
ΔE00 3.81
Warm Blue
#4B57DB
ΔE00 6.62
Royal Purple
#7851A9
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665DB9 #B0B95D
analogous
#5D82B9 #665DB9 #945DB9
triadic
#665DB9 #B9665D #5DB966
tetradic
#665DB9 #B95D82 #B0B95D #5DB994
square
#665DB9 #B95D82 #B0B95D #5DB994
split-complementary
#665DB9 #B9945D #82B95D
monochromatic
#352F6D #4A4197 #665DB9 #8E88CB #B7B2DE
Accessibility & contrast
On white
5.48
#665DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#665DB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665DB9
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665DB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665DB9 | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#356CBC
Deuteranopia (green-blind)
#3266B7
Tritanopia (blue-blind)
#4C7082
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #665db9; /* rgb */ color: rgb(102, 93, 185); /* oklch */ color: oklch(53.2% 0.140 285.0);
Tailwind
colors: {
custom: {
50: '#968bce',
500: '#665db9',
950: '#000000',
},
}SCSS
$custom: #665db9; $custom-light: #968bce; $custom-dark: #000000;
JSON
{
"hex": "#665db9",
"rgb": {
"r": 102,
"g": 93,
"b": 185
},
"hsl": {
"h": 245.87,
"s": 39.655,
"l": 54.51
},
"oklch": {
"l": 0.5321,
"c": 0.14004,
"h": 285
},
"luminance": 0.14156
}Semantic roles & 50–950 ramp
primary
#665DB9
secondary
#C9CCA5
accent
#D058C4
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82