#665EAF#665EAF
#665EAF is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.8% C 0.124 H 285.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #665EAF |
|---|---|
| RGB | rgb(102, 94, 175) |
| HSL | hsl(246, 34%, 53%) |
| HSV | hsv(246, 46%, 69%) |
| CMYK | cmyk(41.7%, 46.3%, 0%, 31.4%) |
| CIE-LAB | lab(44.12, 23.75, -42.30) |
| CIE-LCH | lch(44.12, 48.52, 299.31°) |
| OKLab | oklab(52.77% 0.0339 -0.1196) |
| OKLCH | oklch(52.77% 0.124 285.8) |
| XYZ | xyz(17.2179, 13.9247, 42.3297) |
| Luminance | 0.1393 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.26
Slate Blue
#6A5ACD
ΔE00 5.17
Dark Periwinkle
#665FD1
ΔE00 5.51
Light Indigo
#6D5ACF
ΔE00 5.53
Royal Purple
#7851A9
ΔE00 6.65
Twilight
#4E518B
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665EAF #A7AF5E
analogous
#5E7EAF #665EAF #8E5EAF
triadic
#665EAF #AF665E #5EAF66
tetradic
#665EAF #AF5E7E #A7AF5E #5EAF8E
square
#665EAF #AF5E7E #A7AF5E #5EAF8E
split-complementary
#665EAF #AF8E5E #7EAF5E
monochromatic
#363162 #4C458B #665EAF #8D87C3 #B4B0D8
Accessibility & contrast
On white
5.55
#665EAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#665EAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665EAF
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665EAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665EAF | 1.00 | 5.55 | 3.79 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F6BB2
Deuteranopia (green-blind)
#3D66AD
Tritanopia (blue-blind)
#516E7E
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #665eaf; /* rgb */ color: rgb(102, 94, 175); /* oklch */ color: oklch(52.8% 0.124 285.8);
Tailwind
colors: {
custom: {
50: '#958bc7',
500: '#665eaf',
950: '#000000',
},
}SCSS
$custom: #665eaf; $custom-light: #958bc7; $custom-dark: #000000;
JSON
{
"hex": "#665eaf",
"rgb": {
"r": 102,
"g": 94,
"b": 175
},
"hsl": {
"h": 245.926,
"s": 33.61,
"l": 52.745
},
"oklch": {
"l": 0.52772,
"c": 0.12435,
"h": 285.8
},
"luminance": 0.13925
}Semantic roles & 50–950 ramp
primary
#665EAF
secondary
#C2C6A3
accent
#CA5EBF
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82