#665FB6#665FB6
#665FB6 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.4% C 0.133 H 284.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #665FB6 |
|---|---|
| RGB | rgb(102, 95, 182) |
| HSL | hsl(245, 37%, 54%) |
| HSV | hsv(245, 48%, 71%) |
| CMYK | cmyk(44%, 47.8%, 0%, 28.6%) |
| CIE-LAB | lab(44.78, 25.21, -45.36) |
| CIE-LCH | lch(44.78, 51.89, 299.07°) |
| OKLab | oklab(53.4% 0.0335 -0.1286) |
| OKLCH | oklch(53.4% 0.133 284.6) |
| XYZ | xyz(18.0127, 14.3858, 46.0746) |
| Luminance | 0.1439 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.39
Slate Blue
#6A5ACD
ΔE00 4.15
Dark Periwinkle
#665FD1
ΔE00 4.28
Light Indigo
#6D5ACF
ΔE00 4.54
Warm Blue
#4B57DB
ΔE00 7.19
Royal Purple
#7851A9
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FB6 #AFB65F
analogous
#5F84B6 #665FB6 #925FB6
triadic
#665FB6 #B6665F #5FB666
tetradic
#665FB6 #B65F84 #AFB65F #5FB692
square
#665FB6 #B65F84 #AFB65F #5FB692
split-complementary
#665FB6 #B6925F #84B65F
monochromatic
#35306A #4A4494 #665FB6 #8E89C9 #B6B3DC
Accessibility & contrast
On white
5.42
#665FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#665FB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FB6
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FB6 | 1.00 | 5.42 | 3.88 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C6DB9
Deuteranopia (green-blind)
#3967B4
Tritanopia (blue-blind)
#4D7182
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #665fb6; /* rgb */ color: rgb(102, 95, 182); /* oklch */ color: oklch(53.4% 0.133 284.6);
Tailwind
colors: {
custom: {
50: '#968ccc',
500: '#665fb6',
950: '#000000',
},
}SCSS
$custom: #665fb6; $custom-light: #968ccc; $custom-dark: #000000;
JSON
{
"hex": "#665fb6",
"rgb": {
"r": 102,
"g": 95,
"b": 182
},
"hsl": {
"h": 244.828,
"s": 37.339,
"l": 54.314
},
"oklch": {
"l": 0.53398,
"c": 0.13287,
"h": 284.6
},
"luminance": 0.14387
}Semantic roles & 50–950 ramp
primary
#665FB6
secondary
#C8CBA6
accent
#CD5AC4
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C13
muted
#7E7D82