#665FBB#665FBB
#665FBB is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.7% C 0.140 H 284.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #665FBB |
|---|---|
| RGB | rgb(102, 95, 187) |
| HSL | hsl(245, 40%, 55%) |
| HSV | hsv(245, 49%, 73%) |
| CMYK | cmyk(45.5%, 49.2%, 0%, 26.7%) |
| CIE-LAB | lab(45.08, 26.71, -47.80) |
| CIE-LCH | lch(45.08, 54.75, 299.20°) |
| OKLab | oklab(53.72% 0.034 -0.1357) |
| OKLCH | oklch(53.72% 0.14 284.1) |
| XYZ | xyz(18.5387, 14.5962, 48.8446) |
| Luminance | 0.1460 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.80
Slate Blue
#6A5ACD
ΔE00 3.41
Dark Periwinkle
#665FD1
ΔE00 3.43
Light Indigo
#6D5ACF
ΔE00 3.82
Warm Blue
#4B57DB
ΔE00 6.50
Royal Purple
#7851A9
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FBB #B4BB5F
analogous
#5F86BB #665FBB #945FBB
triadic
#665FBB #BB665F #5FBB66
tetradic
#665FBB #BB5F86 #B4BB5F #5FBB94
square
#665FBB #BB5F86 #B4BB5F #5FBB94
split-complementary
#665FBB #BB945F #86BB5F
monochromatic
#343070 #49429B #665FBB #8F8ACD #B8B5E0
Accessibility & contrast
On white
5.36
#665FBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#665FBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FBB
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FBB | 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)
#386EBE
Deuteranopia (green-blind)
#3468B9
Tritanopia (blue-blind)
#4A7284
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #665fbb; /* rgb */ color: rgb(102, 95, 187); /* oklch */ color: oklch(53.7% 0.140 284.1);
Tailwind
colors: {
custom: {
50: '#978cd0',
500: '#665fbb',
950: '#000000',
},
}SCSS
$custom: #665fbb; $custom-light: #978cd0; $custom-dark: #000000;
JSON
{
"hex": "#665fbb",
"rgb": {
"r": 102,
"g": 95,
"b": 187
},
"hsl": {
"h": 244.565,
"s": 40.351,
"l": 55.294
},
"oklch": {
"l": 0.53715,
"c": 0.13995,
"h": 284.1
},
"luminance": 0.14597
}Semantic roles & 50–950 ramp
primary
#665FBB
secondary
#CBCEA8
accent
#D058C7
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82