#665FB2#665FB2
#665FB2 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.1% C 0.127 H 285.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #665FB2 |
|---|---|
| RGB | rgb(102, 95, 178) |
| HSL | hsl(245, 35%, 54%) |
| HSV | hsv(245, 47%, 70%) |
| CMYK | cmyk(42.7%, 46.6%, 0%, 30.2%) |
| CIE-LAB | lab(44.55, 24.02, -43.39) |
| CIE-LCH | lch(44.55, 49.59, 298.97°) |
| OKLab | oklab(53.15% 0.033 -0.1228) |
| OKLCH | oklch(53.15% 0.127 285) |
| XYZ | xyz(17.6053, 14.2229, 43.9285) |
| Luminance | 0.1422 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.97
Slate Blue
#6A5ACD
ΔE00 4.80
Dark Periwinkle
#665FD1
ΔE00 4.98
Light Indigo
#6D5ACF
ΔE00 5.17
Royal Purple
#7851A9
ΔE00 7.03
Warm Blue
#4B57DB
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FB2 #ABB25F
analogous
#5F81B2 #665FB2 #8F5FB2
triadic
#665FB2 #B2665F #5FB266
tetradic
#665FB2 #B25F81 #ABB25F #5FB28F
square
#665FB2 #B25F81 #ABB25F #5FB28F
split-complementary
#665FB2 #B28F5F #81B25F
monochromatic
#353166 #4B458F #665FB2 #8E88C6 #B5B2DA
Accessibility & contrast
On white
5.46
#665FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#665FB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FB2
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FB2 | 1.00 | 5.46 | 3.84 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F6CB5
Deuteranopia (green-blind)
#3C67B0
Tritanopia (blue-blind)
#4F7080
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #665fb2; /* rgb */ color: rgb(102, 95, 178); /* oklch */ color: oklch(53.1% 0.127 285.0);
Tailwind
colors: {
custom: {
50: '#968cc9',
500: '#665fb2',
950: '#000000',
},
}SCSS
$custom: #665fb2; $custom-light: #968cc9; $custom-dark: #000000;
JSON
{
"hex": "#665fb2",
"rgb": {
"r": 102,
"g": 95,
"b": 178
},
"hsl": {
"h": 245.06,
"s": 35.021,
"l": 53.529
},
"oklch": {
"l": 0.5315,
"c": 0.12716,
"h": 285
},
"luminance": 0.14224
}Semantic roles & 50–950 ramp
primary
#665FB2
secondary
#C5C8A5
accent
#CB5DC2
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82