#6166B4#6166B4
#6166B4 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.3% C 0.121 H 278.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #6166B4 |
|---|---|
| RGB | rgb(97, 102, 180) |
| HSL | hsl(236, 36%, 54%) |
| HSV | hsv(236, 46%, 71%) |
| CMYK | cmyk(46.1%, 43.3%, 0%, 29.4%) |
| CIE-LAB | lab(46.09, 19.04, -42.12) |
| CIE-LCH | lch(46.09, 46.23, 294.32°) |
| OKLab | oklab(54.26% 0.0184 -0.1192) |
| OKLCH | oklch(54.26% 0.121 278.8) |
| XYZ | xyz(17.9169, 15.3385, 45.1877) |
| Luminance | 0.1534 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 5.40
Iris
#6258C4
ΔE00 5.64
Slate Blue
#6A5ACD
ΔE00 6.27
Light Indigo
#6D5ACF
ΔE00 6.67
Dusky Blue
#475F94
ΔE00 7.05
Cornflower Blue
#5170D7
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6166B4 #B4AF61
analogous
#618FB4 #6166B4 #8661B4
triadic
#6166B4 #B46166 #66B461
tetradic
#6166B4 #B4618F #B4AF61 #61B486
square
#6166B4 #B4618F #B4AF61 #61B486
split-complementary
#6166B4 #B48661 #8FB461
monochromatic
#323569 #454A92 #6166B4 #8B8EC8 #B4B6DB
Accessibility & contrast
On white
5.16
#6166B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#6166B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6166B4
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6166B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6166B4 | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4870B7
Deuteranopia (green-blind)
#426AB2
Tritanopia (blue-blind)
#447684
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #6166b4; /* rgb */ color: rgb(97, 102, 180); /* oklch */ color: oklch(54.3% 0.121 278.8);
Tailwind
colors: {
custom: {
50: '#9291cb',
500: '#6166b4',
950: '#000000',
},
}SCSS
$custom: #6166b4; $custom-light: #9291cb; $custom-dark: #000000;
JSON
{
"hex": "#6166b4",
"rgb": {
"r": 97,
"g": 102,
"b": 180
},
"hsl": {
"h": 236.386,
"s": 35.622,
"l": 54.314
},
"oklch": {
"l": 0.54258,
"c": 0.12061,
"h": 278.8
},
"luminance": 0.15339
}Semantic roles & 50–950 ramp
primary
#6166B4
secondary
#CAC8A7
accent
#C55CCC
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C13
muted
#7E7D82