#6166BC#6166BC
#6166BC is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.7% C 0.132 H 278.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #6166BC |
|---|---|
| RGB | rgb(97, 102, 188) |
| HSL | hsl(237, 40%, 56%) |
| HSV | hsv(237, 48%, 74%) |
| CMYK | cmyk(48.4%, 45.7%, 0%, 26.3%) |
| CIE-LAB | lab(46.54, 21.51, -46.06) |
| CIE-LCH | lch(46.54, 50.83, 295.03°) |
| OKLab | oklab(54.75% 0.0197 -0.1307) |
| OKLCH | oklch(54.75% 0.132 278.6) |
| XYZ | xyz(18.7555, 15.6739, 49.6043) |
| Luminance | 0.1568 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.29
Iris
#6258C4
ΔE00 5.04
Slate Blue
#6A5ACD
ΔE00 5.44
Light Indigo
#6D5ACF
ΔE00 5.84
Cornflower Blue
#5170D7
ΔE00 6.39
Warm Blue
#4B57DB
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6166BC #BCB761
analogous
#6193BC #6166BC #8961BC
triadic
#6166BC #BC6166 #66BC61
tetradic
#6166BC #BC6193 #BCB761 #61BC89
square
#6166BC #BC6193 #BCB761 #61BC89
split-complementary
#6166BC #BC8961 #93BC61
monochromatic
#303472 #43489D #6166BC #8C90CE #B7B9E0
Accessibility & contrast
On white
5.08
#6166BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#6166BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6166BC
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6166BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6166BC | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4272BF
Deuteranopia (green-blind)
#3B6BBA
Tritanopia (blue-blind)
#3F7888
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6166bc; /* rgb */ color: rgb(97, 102, 188); /* oklch */ color: oklch(54.7% 0.132 278.6);
Tailwind
colors: {
custom: {
50: '#9391d1',
500: '#6166bc',
950: '#000000',
},
}SCSS
$custom: #6166bc; $custom-light: #9391d1; $custom-dark: #000000;
JSON
{
"hex": "#6166bc",
"rgb": {
"r": 97,
"g": 102,
"b": 188
},
"hsl": {
"h": 236.703,
"s": 40.444,
"l": 55.882
},
"oklch": {
"l": 0.54746,
"c": 0.13219,
"h": 278.6
},
"luminance": 0.15675
}Semantic roles & 50–950 ramp
primary
#6166BC
secondary
#CFCDAA
accent
#CA57D0
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0C14
muted
#7E7D82