#665DAF#665DAF
#665DAF is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.6% C 0.126 H 286.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #665DAF |
|---|---|
| RGB | rgb(102, 93, 175) |
| HSL | hsl(247, 34%, 53%) |
| HSV | hsv(247, 47%, 69%) |
| CMYK | cmyk(41.7%, 46.9%, 0%, 31.4%) |
| CIE-LAB | lab(43.87, 24.37, -42.71) |
| CIE-LCH | lch(43.87, 49.17, 299.71°) |
| OKLab | oklab(52.58% 0.0352 -0.1208) |
| OKLCH | oklch(52.58% 0.126 286.2) |
| XYZ | xyz(17.1295, 13.7480, 42.3002) |
| Luminance | 0.1375 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.10
Slate Blue
#6A5ACD
ΔE00 5.06
Light Indigo
#6D5ACF
ΔE00 5.43
Dark Periwinkle
#665FD1
ΔE00 5.52
Royal Purple
#7851A9
ΔE00 6.39
Twilight
#4E518B
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665DAF #A6AF5D
analogous
#5D7DAF #665DAF #8F5DAF
triadic
#665DAF #AF665D #5DAF66
tetradic
#665DAF #AF5D7D #A6AF5D #5DAF8F
square
#665DAF #AF5D7D #A6AF5D #5DAF8F
split-complementary
#665DAF #AF8F5D #7DAF5D
monochromatic
#363061 #4C448A #665DAF #8D86C3 #B3AFD7
Accessibility & contrast
On white
5.60
#665DAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#665DAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665DAF
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665DAF | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E6AB2
Deuteranopia (green-blind)
#3C65AD
Tritanopia (blue-blind)
#516E7D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #665daf; /* rgb */ color: rgb(102, 93, 175); /* oklch */ color: oklch(52.6% 0.126 286.2);
Tailwind
colors: {
custom: {
50: '#958bc7',
500: '#665daf',
950: '#000000',
},
}SCSS
$custom: #665daf; $custom-light: #958bc7; $custom-dark: #000000;
JSON
{
"hex": "#665daf",
"rgb": {
"r": 102,
"g": 93,
"b": 175
},
"hsl": {
"h": 246.585,
"s": 33.884,
"l": 52.549
},
"oklch": {
"l": 0.5258,
"c": 0.12585,
"h": 286.2
},
"luminance": 0.13749
}Semantic roles & 50–950 ramp
primary
#665DAF
secondary
#C2C6A2
accent
#CA5EBE
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82