#6166B5#6166B5
#6166B5 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.3% C 0.122 H 278.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #6166B5 |
|---|---|
| RGB | rgb(97, 102, 181) |
| HSL | hsl(236, 36%, 55%) |
| HSV | hsv(236, 46%, 71%) |
| CMYK | cmyk(46.4%, 43.6%, 0%, 29%) |
| CIE-LAB | lab(46.15, 19.35, -42.62) |
| CIE-LCH | lch(46.15, 46.80, 294.42°) |
| OKLab | oklab(54.32% 0.0186 -0.1206) |
| OKLCH | oklch(54.32% 0.122 278.8) |
| XYZ | xyz(18.0191, 15.3794, 45.7262) |
| Luminance | 0.1538 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 5.25
Iris
#6258C4
ΔE00 5.55
Slate Blue
#6A5ACD
ΔE00 6.15
Light Indigo
#6D5ACF
ΔE00 6.55
Cornflower Blue
#5170D7
ΔE00 7.14
Dusky Blue
#475F94
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6166B5 #B5B061
analogous
#6190B5 #6166B5 #8661B5
triadic
#6166B5 #B56166 #66B561
tetradic
#6166B5 #B56190 #B5B061 #61B586
square
#6166B5 #B56190 #B5B061 #61B586
split-complementary
#6166B5 #B58661 #90B561
monochromatic
#32356A #454A94 #6166B5 #8B8EC9 #B4B7DC
Accessibility & contrast
On white
5.15
#6166B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#6166B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6166B5
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6166B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6166B5 | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4771B8
Deuteranopia (green-blind)
#416AB3
Tritanopia (blue-blind)
#447685
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #6166b5; /* rgb */ color: rgb(97, 102, 181); /* oklch */ color: oklch(54.3% 0.122 278.8);
Tailwind
colors: {
custom: {
50: '#9291cb',
500: '#6166b5',
950: '#000000',
},
}SCSS
$custom: #6166b5; $custom-light: #9291cb; $custom-dark: #000000;
JSON
{
"hex": "#6166b5",
"rgb": {
"r": 97,
"g": 102,
"b": 181
},
"hsl": {
"h": 236.429,
"s": 36.207,
"l": 54.51
},
"oklch": {
"l": 0.54318,
"c": 0.12207,
"h": 278.8
},
"luminance": 0.1538
}Semantic roles & 50–950 ramp
primary
#6166B5
secondary
#CBC9A7
accent
#C65CCC
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C13
muted
#7E7D82