#6166B9#6166B9
#6166B9 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.6% C 0.128 H 278.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #6166B9 |
|---|---|
| RGB | rgb(97, 102, 185) |
| HSL | hsl(237, 39%, 55%) |
| HSV | hsv(237, 48%, 73%) |
| CMYK | cmyk(47.6%, 44.9%, 0%, 27.5%) |
| CIE-LAB | lab(46.37, 20.58, -44.59) |
| CIE-LCH | lch(46.37, 49.11, 294.77°) |
| OKLab | oklab(54.56% 0.0193 -0.1264) |
| OKLCH | oklch(54.56% 0.128 278.7) |
| XYZ | xyz(18.4354, 15.5459, 47.9188) |
| Luminance | 0.1555 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.69
Iris
#6258C4
ΔE00 5.23
Slate Blue
#6A5ACD
ΔE00 5.73
Light Indigo
#6D5ACF
ΔE00 6.12
Cornflower Blue
#5170D7
ΔE00 6.69
Warm Blue
#4B57DB
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6166B9 #B9B461
analogous
#6192B9 #6166B9 #8861B9
triadic
#6166B9 #B96166 #66B961
tetradic
#6166B9 #B96192 #B9B461 #61B988
square
#6166B9 #B96192 #B9B461 #61B988
split-complementary
#6166B9 #B98861 #92B961
monochromatic
#31356F #444999 #6166B9 #8B8FCC #B6B8DF
Accessibility & contrast
On white
5.11
#6166B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#6166B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6166B9
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6166B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6166B9 | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4571BC
Deuteranopia (green-blind)
#3E6BB7
Tritanopia (blue-blind)
#417786
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6166b9; /* rgb */ color: rgb(97, 102, 185); /* oklch */ color: oklch(54.6% 0.128 278.7);
Tailwind
colors: {
custom: {
50: '#9391ce',
500: '#6166b9',
950: '#000000',
},
}SCSS
$custom: #6166b9; $custom-light: #9391ce; $custom-dark: #000000;
JSON
{
"hex": "#6166b9",
"rgb": {
"r": 97,
"g": 102,
"b": 185
},
"hsl": {
"h": 236.591,
"s": 38.596,
"l": 55.294
},
"oklch": {
"l": 0.54561,
"c": 0.12788,
"h": 278.7
},
"luminance": 0.15547
}Semantic roles & 50–950 ramp
primary
#6166B9
secondary
#CDCBA9
accent
#C859CF
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0C14
muted
#7E7D82