#665EB2#665EB2
#665EB2 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.0% C 0.129 H 285.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #665EB2 |
|---|---|
| RGB | rgb(102, 94, 178) |
| HSL | hsl(246, 35%, 53%) |
| HSV | hsv(246, 47%, 70%) |
| CMYK | cmyk(42.7%, 47.2%, 0%, 30.2%) |
| CIE-LAB | lab(44.30, 24.64, -43.79) |
| CIE-LCH | lch(44.30, 50.25, 299.36°) |
| OKLab | oklab(52.96% 0.0343 -0.124) |
| OKLCH | oklch(52.96% 0.129 285.5) |
| XYZ | xyz(17.5158, 14.0439, 43.8987) |
| Luminance | 0.1404 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.77
Slate Blue
#6A5ACD
ΔE00 4.66
Dark Periwinkle
#665FD1
ΔE00 4.97
Light Indigo
#6D5ACF
ΔE00 5.03
Royal Purple
#7851A9
ΔE00 6.76
Warm Blue
#4B57DB
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665EB2 #AAB25E
analogous
#5E80B2 #665EB2 #905EB2
triadic
#665EB2 #B2665E #5EB266
tetradic
#665EB2 #B25E80 #AAB25E #5EB290
square
#665EB2 #B25E80 #AAB25E #5EB290
split-complementary
#665EB2 #B2905E #80B25E
monochromatic
#353065 #4B448F #665EB2 #8D87C6 #B5B1DA
Accessibility & contrast
On white
5.51
#665EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#665EB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665EB2
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665EB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665EB2 | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D6BB5
Deuteranopia (green-blind)
#3B66B0
Tritanopia (blue-blind)
#4F6F7F
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #665eb2; /* rgb */ color: rgb(102, 94, 178); /* oklch */ color: oklch(53.0% 0.129 285.5);
Tailwind
colors: {
custom: {
50: '#968bc9',
500: '#665eb2',
950: '#000000',
},
}SCSS
$custom: #665eb2; $custom-light: #968bc9; $custom-dark: #000000;
JSON
{
"hex": "#665eb2",
"rgb": {
"r": 102,
"g": 94,
"b": 178
},
"hsl": {
"h": 245.714,
"s": 35.294,
"l": 53.333
},
"oklch": {
"l": 0.52957,
"c": 0.12865,
"h": 285.5
},
"luminance": 0.14045
}Semantic roles & 50–950 ramp
primary
#665EB2
secondary
#C5C8A4
accent
#CB5CC1
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82