#665BCB#665BCB
#665BCB is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.1% C 0.168 H 283.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #665BCB |
|---|---|
| RGB | rgb(102, 91, 203) |
| HSL | hsl(246, 52%, 58%) |
| HSV | hsv(246, 55%, 80%) |
| CMYK | cmyk(49.8%, 55.2%, 0%, 20.4%) |
| CIE-LAB | lab(45.11, 33.99, -57.01) |
| CIE-LCH | lch(45.11, 66.37, 300.81°) |
| OKLab | oklab(54.06% 0.0397 -0.1628) |
| OKLCH | oklch(54.06% 0.168 283.7) |
| XYZ | xyz(19.9968, 14.6177, 58.2562) |
| Luminance | 0.1462 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 0.89
Light Indigo
#6D5ACF
ΔE00 1.48
Iris
#6258C4
ΔE00 1.49
Dark Periwinkle
#665FD1
ΔE00 1.56
Warm Blue
#4B57DB
ΔE00 4.57
Purpley
#8756E4
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665BCB #C0CB5B
analogous
#5B88CB #665BCB #9E5BCB
triadic
#665BCB #CB665B #5BCB66
tetradic
#665BCB #CB5B88 #C0CB5B #5BCB9E
square
#665BCB #CB5B88 #C0CB5B #5BCB9E
split-complementary
#665BCB #CB9E5B #88CB5B
monochromatic
#322982 #4438B1 #665BCB #9189DA #BDB8E8
Accessibility & contrast
On white
5.35
#665BCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#665BCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665BCB
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665BCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665BCB | 1.00 | 5.35 | 3.92 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#166ECF
Deuteranopia (green-blind)
#0967C9
Tritanopia (blue-blind)
#40748A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #665bcb; /* rgb */ color: rgb(102, 91, 203); /* oklch */ color: oklch(54.1% 0.168 283.7);
Tailwind
colors: {
custom: {
50: '#9989db',
500: '#665bcb',
950: '#000000',
},
}SCSS
$custom: #665bcb; $custom-light: #9989db; $custom-dark: #000000;
JSON
{
"hex": "#665bcb",
"rgb": {
"r": 102,
"g": 91,
"b": 203
},
"hsl": {
"h": 245.893,
"s": 51.852,
"l": 57.647
},
"oklch": {
"l": 0.54062,
"c": 0.16761,
"h": 283.7
},
"luminance": 0.14619
}Semantic roles & 50–950 ramp
primary
#665BCB
secondary
#D3D7AA
accent
#DB4CCD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83