#665CDB#665CDB
#665CDB is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.4% C 0.187 H 281.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #665CDB |
|---|---|
| RGB | rgb(102, 92, 219) |
| HSL | hsl(245, 64%, 61%) |
| HSV | hsv(245, 58%, 86%) |
| CMYK | cmyk(53.4%, 58%, 0%, 14.1%) |
| CIE-LAB | lab(46.43, 38.29, -64.02) |
| CIE-LCH | lch(46.43, 74.60, 300.89°) |
| OKLab | oklab(55.39% 0.0387 -0.1834) |
| OKLCH | oklch(55.39% 0.187 281.9) |
| XYZ | xyz(22.0889, 15.5922, 68.8498) |
| Luminance | 0.1559 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.67
Slate Blue
#6A5ACD
ΔE00 2.28
Light Indigo
#6D5ACF
ΔE00 2.30
Iris
#6258C4
ΔE00 3.61
Warm Blue
#4B57DB
ΔE00 4.09
Mediumslateblue
#7B68EE
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665CDB #D1DB5C
analogous
#5C91DB #665CDB #A55CDB
triadic
#665CDB #DB665C #5CDB66
tetradic
#665CDB #DB5C91 #D1DB5C #5CDBA5
square
#665CDB #DB5C91 #D1DB5C #5CDBA5
split-complementary
#665CDB #DBA55C #91DB5C
monochromatic
#2C229A #3A2DCD #665CDB #958EE6 #C4C0F1
Accessibility & contrast
On white
5.10
#665CDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#665CDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665CDB
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665CDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665CDB | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#006AD8
Tritanopia (blue-blind)
#327A93
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #665cdb; /* rgb */ color: rgb(102, 92, 219); /* oklch */ color: oklch(55.4% 0.187 281.9);
Tailwind
colors: {
custom: {
50: '#9b8ae7',
500: '#665cdb',
950: '#000000',
},
}SCSS
$custom: #665cdb; $custom-light: #9b8ae7; $custom-dark: #000000;
JSON
{
"hex": "#665cdb",
"rgb": {
"r": 102,
"g": 92,
"b": 219
},
"hsl": {
"h": 244.724,
"s": 63.819,
"l": 60.98
},
"oklch": {
"l": 0.55393,
"c": 0.18748,
"h": 281.9
},
"luminance": 0.15594
}Semantic roles & 50–950 ramp
primary
#665CDB
secondary
#DEE1B1
accent
#CC1ABE
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84