#665BA6#665BA6
#665BA6 is a mid, moderate blue. Relative luminance 0.131; OKLCH L 51.6% C 0.116 H 288.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #665BA6 |
|---|---|
| RGB | rgb(102, 91, 166) |
| HSL | hsl(249, 30%, 50%) |
| HSV | hsv(249, 45%, 65%) |
| CMYK | cmyk(38.6%, 45.2%, 0%, 34.9%) |
| CIE-LAB | lab(42.85, 22.98, -39.02) |
| CIE-LCH | lch(42.85, 45.29, 300.50°) |
| OKLab | oklab(51.65% 0.0366 -0.11) |
| OKLCH | oklch(51.65% 0.116 288.4) |
| XYZ | xyz(16.1016, 13.0596, 37.7414) |
| Luminance | 0.1306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.52
Royal Purple
#7851A9
ΔE00 5.75
Twilight
#4E518B
ΔE00 6.54
Slate Blue
#6A5ACD
ΔE00 6.58
Light Indigo
#6D5ACF
ΔE00 6.90
Dark Periwinkle
#665FD1
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665BA6 #9BA65B
analogous
#5B75A6 #665BA6 #8B5BA6
triadic
#665BA6 #A6665B #5BA666
tetradic
#665BA6 #A65B75 #9BA65B #5BA68B
square
#665BA6 #A65B75 #9BA65B #5BA68B
split-complementary
#665BA6 #A68B5B #75A65B
monochromatic
#352F57 #4D457F #665BA6 #8B83BC #B0AAD1
Accessibility & contrast
On white
5.81
#665BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#665BA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665BA6
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665BA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665BA6 | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4167A9
Deuteranopia (green-blind)
#4063A4
Tritanopia (blue-blind)
#556A78
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #665ba6; /* rgb */ color: rgb(102, 91, 166); /* oklch */ color: oklch(51.6% 0.116 288.4);
Tailwind
colors: {
custom: {
50: '#9589c1',
500: '#665ba6',
950: '#000000',
},
}SCSS
$custom: #665ba6; $custom-light: #9589c1; $custom-dark: #000000;
JSON
{
"hex": "#665ba6",
"rgb": {
"r": 102,
"g": 91,
"b": 166
},
"hsl": {
"h": 248.8,
"s": 29.644,
"l": 50.392
},
"oklch": {
"l": 0.51648,
"c": 0.11596,
"h": 288.4
},
"luminance": 0.1306
}Semantic roles & 50–950 ramp
primary
#665BA6
secondary
#BABF9E
accent
#C662B7
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0B12
muted
#7E7C81