#665DB1#665DB1
#665DB1 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.7% C 0.129 H 286.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #665DB1 |
|---|---|
| RGB | rgb(102, 93, 177) |
| HSL | hsl(246, 35%, 53%) |
| HSV | hsv(246, 47%, 69%) |
| CMYK | cmyk(42.4%, 47.5%, 0%, 30.6%) |
| CIE-LAB | lab(43.98, 24.96, -43.70) |
| CIE-LCH | lch(43.98, 50.33, 299.73°) |
| OKLab | oklab(52.7% 0.0355 -0.1237) |
| OKLCH | oklch(52.7% 0.129 286) |
| XYZ | xyz(17.3274, 13.8272, 43.3424) |
| Luminance | 0.1383 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.76
Slate Blue
#6A5ACD
ΔE00 4.72
Light Indigo
#6D5ACF
ΔE00 5.09
Dark Periwinkle
#665FD1
ΔE00 5.16
Royal Purple
#7851A9
ΔE00 6.46
Warm Blue
#4B57DB
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665DB1 #A8B15D
analogous
#5D7EB1 #665DB1 #905DB1
triadic
#665DB1 #B1665D #5DB166
tetradic
#665DB1 #B15D7E #A8B15D #5DB190
square
#665DB1 #B15D7E #A8B15D #5DB190
split-complementary
#665DB1 #B1905D #7EB15D
monochromatic
#363064 #4C448D #665DB1 #8D86C5 #B4B0D9
Accessibility & contrast
On white
5.58
#665DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#665DB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665DB1
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665DB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665DB1 | 1.00 | 5.58 | 3.77 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C6AB4
Deuteranopia (green-blind)
#3A66AF
Tritanopia (blue-blind)
#506E7E
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #665db1; /* rgb */ color: rgb(102, 93, 177); /* oklch */ color: oklch(52.7% 0.129 286.0);
Tailwind
colors: {
custom: {
50: '#968bc9',
500: '#665db1',
950: '#000000',
},
}SCSS
$custom: #665db1; $custom-light: #968bc9; $custom-dark: #000000;
JSON
{
"hex": "#665db1",
"rgb": {
"r": 102,
"g": 93,
"b": 177
},
"hsl": {
"h": 246.429,
"s": 35,
"l": 52.941
},
"oklch": {
"l": 0.52703,
"c": 0.12872,
"h": 286
},
"luminance": 0.13828
}Semantic roles & 50–950 ramp
primary
#665DB1
secondary
#C3C7A3
accent
#CB5DBF
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82