#665FAF#665FAF
#665FAF is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.0% C 0.123 H 285.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #665FAF |
|---|---|
| RGB | rgb(102, 95, 175) |
| HSL | hsl(245, 33%, 53%) |
| HSV | hsv(245, 46%, 69%) |
| CMYK | cmyk(41.7%, 45.7%, 0%, 31.4%) |
| CIE-LAB | lab(44.38, 23.14, -41.90) |
| CIE-LCH | lch(44.38, 47.86, 298.91°) |
| OKLab | oklab(52.97% 0.0326 -0.1184) |
| OKLCH | oklch(52.97% 0.123 285.4) |
| XYZ | xyz(17.3074, 14.1037, 42.3595) |
| Luminance | 0.1410 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.44
Slate Blue
#6A5ACD
ΔE00 5.30
Dark Periwinkle
#665FD1
ΔE00 5.53
Light Indigo
#6D5ACF
ΔE00 5.66
Royal Purple
#7851A9
ΔE00 6.93
Twilight
#4E518B
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FAF #A8AF5F
analogous
#5F80AF #665FAF #8E5FAF
triadic
#665FAF #AF665F #5FAF66
tetradic
#665FAF #AF5F80 #A8AF5F #5FAF8E
square
#665FAF #AF5F80 #A8AF5F #5FAF8E
split-complementary
#665FAF #AF8E5F #80AF5F
monochromatic
#363162 #4C468B #665FAF #8D88C3 #B4B1D8
Accessibility & contrast
On white
5.50
#665FAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#665FAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FAF
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FAF | 1.00 | 5.50 | 3.82 | 5.50 |
| #FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#416BB2
Deuteranopia (green-blind)
#3F67AD
Tritanopia (blue-blind)
#516F7E
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #665faf; /* rgb */ color: rgb(102, 95, 175); /* oklch */ color: oklch(53.0% 0.123 285.4);
Tailwind
colors: {
custom: {
50: '#958cc7',
500: '#665faf',
950: '#000000',
},
}SCSS
$custom: #665faf; $custom-light: #958cc7; $custom-dark: #000000;
JSON
{
"hex": "#665faf",
"rgb": {
"r": 102,
"g": 95,
"b": 175
},
"hsl": {
"h": 245.25,
"s": 33.333,
"l": 52.941
},
"oklch": {
"l": 0.52966,
"c": 0.12284,
"h": 285.4
},
"luminance": 0.14104
}Semantic roles & 50–950 ramp
primary
#665FAF
secondary
#C3C6A4
accent
#C95EC0
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82