#665FBA#665FBA
#665FBA is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.7% C 0.139 H 284.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #665FBA |
|---|---|
| RGB | rgb(102, 95, 186) |
| HSL | hsl(245, 40%, 55%) |
| HSV | hsv(245, 49%, 73%) |
| CMYK | cmyk(45.2%, 48.9%, 0%, 27.1%) |
| CIE-LAB | lab(45.02, 26.41, -47.31) |
| CIE-LCH | lch(45.02, 54.18, 299.17°) |
| OKLab | oklab(53.65% 0.034 -0.1343) |
| OKLCH | oklch(53.65% 0.139 284.2) |
| XYZ | xyz(18.4320, 14.5536, 48.2828) |
| Luminance | 0.1455 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.90
Slate Blue
#6A5ACD
ΔE00 3.55
Dark Periwinkle
#665FD1
ΔE00 3.60
Light Indigo
#6D5ACF
ΔE00 3.96
Warm Blue
#4B57DB
ΔE00 6.64
Royal Purple
#7851A9
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#665FBA #B3BA5F
analogous
#5F86BA #665FBA #935FBA
triadic
#665FBA #BA665F #5FBA66
tetradic
#665FBA #BA5F86 #B3BA5F #5FBA93
square
#665FBA #BA5F86 #B3BA5F #5FBA93
split-complementary
#665FBA #BA935F #86BA5F
monochromatic
#35306F #49429A #665FBA #8F8ACC #B8B5DF
Accessibility & contrast
On white
5.37
#665FBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#665FBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #665FBA
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##665FBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##665FBA | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#386DBD
Deuteranopia (green-blind)
#3568B8
Tritanopia (blue-blind)
#4B7284
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #665fba; /* rgb */ color: rgb(102, 95, 186); /* oklch */ color: oklch(53.7% 0.139 284.2);
Tailwind
colors: {
custom: {
50: '#968ccf',
500: '#665fba',
950: '#000000',
},
}SCSS
$custom: #665fba; $custom-light: #968ccf; $custom-dark: #000000;
JSON
{
"hex": "#665fba",
"rgb": {
"r": 102,
"g": 95,
"b": 186
},
"hsl": {
"h": 244.615,
"s": 39.738,
"l": 55.098
},
"oklch": {
"l": 0.53651,
"c": 0.13853,
"h": 284.2
},
"luminance": 0.14554
}Semantic roles & 50–950 ramp
primary
#665FBA
secondary
#CBCDA7
accent
#D058C6
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82