#665BB5#665BB5
#665BB5 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.6% C 0.137 H 286.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #665BB5 |
|---|---|
| RGB | rgb(102, 91, 181) |
| HSL | hsl(247, 38%, 53%) |
| HSV | hsv(247, 50%, 71%) |
| CMYK | cmyk(43.6%, 49.7%, 0%, 29%) |
| CIE-LAB | lab(43.72, 27.37, -46.47) |
| CIE-LCH | lch(43.72, 53.93, 300.50°) |
| OKLab | oklab(52.58% 0.0384 -0.1319) |
| OKLCH | oklch(52.58% 0.137 286.3) |
| XYZ | xyz(17.5587, 13.6425, 45.4152) |
| Luminance | 0.1364 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.83
Slate Blue
#6A5ACD
ΔE00 3.87
Light Indigo
#6D5ACF
ΔE00 4.26
Dark Periwinkle
#665FD1
ΔE00 4.58
Royal Purple
#7851A9
ΔE00 6.22
Warm Blue
#4B57DB
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665BB5 #AAB55B
analogous
#5B7DB5 #665BB5 #935BB5
triadic
#665BB5 #B5665B #5BB566
tetradic
#665BB5 #B55B7D #AAB55B #5BB593
square
#665BB5 #B55B7D #AAB55B #5BB593
split-complementary
#665BB5 #B5935B #7DB55B
monochromatic
#352F67 #4B4291 #665BB5 #8D85C8 #B5AFDB
Accessibility & contrast
On white
5.63
#665BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#665BB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665BB5
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665BB5 | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#356AB8
Deuteranopia (green-blind)
#3365B3
Tritanopia (blue-blind)
#4E6E7F
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #665bb5; /* rgb */ color: rgb(102, 91, 181); /* oklch */ color: oklch(52.6% 0.137 286.3);
Tailwind
colors: {
custom: {
50: '#9689cc',
500: '#665bb5',
950: '#000000',
},
}SCSS
$custom: #665bb5; $custom-light: #9689cc; $custom-dark: #000000;
JSON
{
"hex": "#665bb5",
"rgb": {
"r": 102,
"g": 91,
"b": 181
},
"hsl": {
"h": 247.333,
"s": 37.815,
"l": 53.333
},
"oklch": {
"l": 0.52578,
"c": 0.13736,
"h": 286.3
},
"luminance": 0.13643
}Semantic roles & 50–950 ramp
primary
#665BB5
secondary
#C5C9A3
accent
#CE5AC0
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B13
muted
#7E7C82