#665BA5#665BA5
#665BA5 is a mid, moderate blue. Relative luminance 0.130; OKLCH L 51.6% C 0.115 H 288.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #665BA5 |
|---|---|
| RGB | rgb(102, 91, 165) |
| HSL | hsl(249, 29%, 50%) |
| HSV | hsv(249, 45%, 65%) |
| CMYK | cmyk(38.2%, 44.8%, 0%, 35.3%) |
| CIE-LAB | lab(42.80, 22.70, -38.52) |
| CIE-LCH | lch(42.80, 44.71, 300.51°) |
| OKLab | oklab(51.59% 0.0364 -0.1086) |
| OKLCH | oklch(51.59% 0.115 288.5) |
| XYZ | xyz(16.0103, 13.0231, 37.2602) |
| Luminance | 0.1302 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.72
Royal Purple
#7851A9
ΔE00 5.77
Twilight
#4E518B
ΔE00 6.45
Slate Blue
#6A5ACD
ΔE00 6.77
Light Indigo
#6D5ACF
ΔE00 7.09
Dark Periwinkle
#665FD1
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665BA5 #9AA55B
analogous
#5B75A5 #665BA5 #8B5BA5
triadic
#665BA5 #A5665B #5BA566
tetradic
#665BA5 #A55B75 #9AA55B #5BA58B
square
#665BA5 #A55B75 #9AA55B #5BA58B
split-complementary
#665BA5 #A58B5B #75A55B
monochromatic
#352F56 #4D457E #665BA5 #8B83BB #B0AAD0
Accessibility & contrast
On white
5.83
#665BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#665BA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665BA5
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665BA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665BA5 | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4167A8
Deuteranopia (green-blind)
#4163A3
Tritanopia (blue-blind)
#556978
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #665ba5; /* rgb */ color: rgb(102, 91, 165); /* oklch */ color: oklch(51.6% 0.115 288.5);
Tailwind
colors: {
custom: {
50: '#9489c0',
500: '#665ba5',
950: '#000000',
},
}SCSS
$custom: #665ba5; $custom-light: #9489c0; $custom-dark: #000000;
JSON
{
"hex": "#665ba5",
"rgb": {
"r": 102,
"g": 91,
"b": 165
},
"hsl": {
"h": 248.919,
"s": 29.134,
"l": 50.196
},
"oklch": {
"l": 0.51589,
"c": 0.11451,
"h": 288.5
},
"luminance": 0.13024
}Semantic roles & 50–950 ramp
primary
#665BA5
secondary
#BABE9D
accent
#C562B7
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0B12
muted
#7E7C81