#6166BB#6166BB
#6166BB is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.7% C 0.131 H 278.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #6166BB |
|---|---|
| RGB | rgb(97, 102, 187) |
| HSL | hsl(237, 40%, 56%) |
| HSV | hsv(237, 48%, 73%) |
| CMYK | cmyk(48.1%, 45.5%, 0%, 26.7%) |
| CIE-LAB | lab(46.49, 21.20, -45.57) |
| CIE-LCH | lch(46.49, 50.26, 294.95°) |
| OKLab | oklab(54.68% 0.0196 -0.1293) |
| OKLCH | oklch(54.68% 0.131 278.6) |
| XYZ | xyz(18.6480, 15.6310, 49.0385) |
| Luminance | 0.1563 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.42
Iris
#6258C4
ΔE00 5.10
Slate Blue
#6A5ACD
ΔE00 5.53
Light Indigo
#6D5ACF
ΔE00 5.93
Cornflower Blue
#5170D7
ΔE00 6.48
Warm Blue
#4B57DB
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6166BB #BBB661
analogous
#6193BB #6166BB #8961BB
triadic
#6166BB #BB6166 #66BB61
tetradic
#6166BB #BB6193 #BBB661 #61BB89
square
#6166BB #BB6193 #BBB661 #61BB89
split-complementary
#6166BB #BB8961 #93BB61
monochromatic
#313471 #43489C #6166BB #8C8FCD #B7B9E0
Accessibility & contrast
On white
5.09
#6166BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#6166BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6166BB
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6166BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6166BB | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4372BE
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#407887
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6166bb; /* rgb */ color: rgb(97, 102, 187); /* oklch */ color: oklch(54.7% 0.131 278.6);
Tailwind
colors: {
custom: {
50: '#9391d0',
500: '#6166bb',
950: '#000000',
},
}SCSS
$custom: #6166bb; $custom-light: #9391d0; $custom-dark: #000000;
JSON
{
"hex": "#6166bb",
"rgb": {
"r": 97,
"g": 102,
"b": 187
},
"hsl": {
"h": 236.667,
"s": 39.823,
"l": 55.686
},
"oklch": {
"l": 0.54684,
"c": 0.13076,
"h": 278.6
},
"luminance": 0.15632
}Semantic roles & 50–950 ramp
primary
#6166BB
secondary
#CFCDA9
accent
#C958D0
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0C14
muted
#7E7D82