#665FAC#665FAC
#665FAC is a mid, moderate blue. Relative luminance 0.140; OKLCH L 52.8% C 0.118 H 285.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #665FAC |
|---|---|
| RGB | rgb(102, 95, 172) |
| HSL | hsl(245, 32%, 52%) |
| HSV | hsv(245, 45%, 67%) |
| CMYK | cmyk(40.7%, 44.8%, 0%, 32.5%) |
| CIE-LAB | lab(44.21, 22.26, -40.40) |
| CIE-LCH | lch(44.21, 46.12, 298.85°) |
| OKLab | oklab(52.79% 0.0321 -0.1141) |
| OKLCH | oklch(52.79% 0.119 285.7) |
| XYZ | xyz(17.0160, 13.9871, 40.8250) |
| Luminance | 0.1399 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.94
Slate Blue
#6A5ACD
ΔE00 5.83
Dark Periwinkle
#665FD1
ΔE00 6.08
Light Indigo
#6D5ACF
ΔE00 6.18
Royal Purple
#7851A9
ΔE00 6.87
Twilight
#4E518B
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FAC #A5AC5F
analogous
#5F7EAC #665FAC #8D5FAC
triadic
#665FAC #AC665F #5FAC66
tetradic
#665FAC #AC5F7E #A5AC5F #5FAC8D
square
#665FAC #AC5F7E #A5AC5F #5FAC8D
split-complementary
#665FAC #AC8D5F #7EAC5F
monochromatic
#36315F #4C4688 #665FAC #8D87C1 #B3B0D6
Accessibility & contrast
On white
5.53
#665FAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#665FAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FAC
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FAC | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#436BAF
Deuteranopia (green-blind)
#4166AA
Tritanopia (blue-blind)
#526E7D
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #665fac; /* rgb */ color: rgb(102, 95, 172); /* oklch */ color: oklch(52.8% 0.118 285.7);
Tailwind
colors: {
custom: {
50: '#958cc5',
500: '#665fac',
950: '#000000',
},
}SCSS
$custom: #665fac; $custom-light: #958cc5; $custom-dark: #000000;
JSON
{
"hex": "#665fac",
"rgb": {
"r": 102,
"g": 95,
"b": 172
},
"hsl": {
"h": 245.455,
"s": 31.687,
"l": 52.353
},
"oklch": {
"l": 0.52786,
"c": 0.1185,
"h": 285.7
},
"luminance": 0.13988
}Semantic roles & 50–950 ramp
primary
#665FAC
secondary
#C1C4A3
accent
#C860BE
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C13
muted
#7E7D82