#665EBF#665EBF
#665EBF is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.8% C 0.147 H 284.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #665EBF |
|---|---|
| RGB | rgb(102, 94, 191) |
| HSL | hsl(245, 43%, 56%) |
| HSV | hsv(245, 51%, 75%) |
| CMYK | cmyk(46.6%, 50.8%, 0%, 25.1%) |
| CIE-LAB | lab(45.07, 28.53, -50.13) |
| CIE-LCH | lch(45.07, 57.68, 299.64°) |
| OKLab | oklab(53.79% 0.0356 -0.1426) |
| OKLCH | oklch(53.79% 0.147 284) |
| XYZ | xyz(18.8834, 14.5909, 51.1015) |
| Luminance | 0.1459 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.17
Slate Blue
#6A5ACD
ΔE00 2.68
Dark Periwinkle
#665FD1
ΔE00 2.78
Light Indigo
#6D5ACF
ΔE00 3.12
Warm Blue
#4B57DB
ΔE00 5.92
Royal Purple
#7851A9
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665EBF #B7BF5E
analogous
#5E86BF #665EBF #965EBF
triadic
#665EBF #BF665E #5EBF66
tetradic
#665EBF #BF5E86 #B7BF5E #5EBF96
square
#665EBF #BF5E86 #B7BF5E #5EBF96
split-complementary
#665EBF #BF965E #86BF5E
monochromatic
#342E74 #4840A0 #665EBF #908AD0 #B9B6E2
Accessibility & contrast
On white
5.36
#665EBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#665EBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665EBF
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665EBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665EBF | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#326EC2
Deuteranopia (green-blind)
#2D68BD
Tritanopia (blue-blind)
#487385
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #665ebf; /* rgb */ color: rgb(102, 94, 191); /* oklch */ color: oklch(53.8% 0.147 284.0);
Tailwind
colors: {
custom: {
50: '#978bd3',
500: '#665ebf',
950: '#000000',
},
}SCSS
$custom: #665ebf; $custom-light: #978bd3; $custom-dark: #000000;
JSON
{
"hex": "#665ebf",
"rgb": {
"r": 102,
"g": 94,
"b": 191
},
"hsl": {
"h": 244.948,
"s": 43.111,
"l": 55.882
},
"oklch": {
"l": 0.53788,
"c": 0.14699,
"h": 284
},
"luminance": 0.14592
}Semantic roles & 50–950 ramp
primary
#665EBF
secondary
#CDD0A8
accent
#D355C8
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83