#665BDB#665BDB
#665BDB is a mid, vivid blue. Relative luminance 0.154; OKLCH L 55.2% C 0.189 H 282.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #665BDB |
|---|---|
| RGB | rgb(102, 91, 219) |
| HSL | hsl(245, 64%, 61%) |
| HSV | hsv(245, 58%, 86%) |
| CMYK | cmyk(53.4%, 58.4%, 0%, 14.1%) |
| CIE-LAB | lab(46.20, 38.89, -64.39) |
| CIE-LCH | lch(46.20, 75.22, 301.13°) |
| OKLab | oklab(55.22% 0.0397 -0.1845) |
| OKLCH | oklch(55.22% 0.189 282.1) |
| XYZ | xyz(22.0028, 15.4201, 68.8211) |
| Luminance | 0.1542 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.84
Slate Blue
#6A5ACD
ΔE00 2.18
Light Indigo
#6D5ACF
ΔE00 2.20
Iris
#6258C4
ΔE00 3.51
Warm Blue
#4B57DB
ΔE00 4.03
Mediumslateblue
#7B68EE
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665BDB #D0DB5B
analogous
#5B90DB #665BDB #A65BDB
triadic
#665BDB #DB665B #5BDB66
tetradic
#665BDB #DB5B90 #D0DB5B #5BDBA6
square
#665BDB #DB5B90 #D0DB5B #5BDBA6
split-complementary
#665BDB #DBA65B #90DB5B
monochromatic
#2C229A #3A2DCC #665BDB #958DE6 #C4BFF1
Accessibility & contrast
On white
5.14
#665BDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#665BDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665BDB
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665BDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665BDB | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#0069D8
Tritanopia (blue-blind)
#327992
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #665bdb; /* rgb */ color: rgb(102, 91, 219); /* oklch */ color: oklch(55.2% 0.189 282.1);
Tailwind
colors: {
custom: {
50: '#9b8ae7',
500: '#665bdb',
950: '#000000',
},
}SCSS
$custom: #665bdb; $custom-light: #9b8ae7; $custom-dark: #000000;
JSON
{
"hex": "#665bdb",
"rgb": {
"r": 102,
"g": 91,
"b": 219
},
"hsl": {
"h": 245.156,
"s": 64,
"l": 60.784
},
"oklch": {
"l": 0.55223,
"c": 0.18878,
"h": 282.1
},
"luminance": 0.15421
}Semantic roles & 50–950 ramp
primary
#665BDB
secondary
#DDE1B1
accent
#CC1ABC
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B16
muted
#7F7C84