#6166B8#6166B8
#6166B8 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.5% C 0.126 H 278.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #6166B8 |
|---|---|
| RGB | rgb(97, 102, 184) |
| HSL | hsl(237, 38%, 55%) |
| HSV | hsv(237, 47%, 72%) |
| CMYK | cmyk(47.3%, 44.6%, 0%, 27.8%) |
| CIE-LAB | lab(46.32, 20.27, -44.10) |
| CIE-LCH | lch(46.32, 48.53, 294.69°) |
| OKLab | oklab(54.5% 0.0191 -0.125) |
| OKLCH | oklch(54.5% 0.126 278.7) |
| XYZ | xyz(18.3302, 15.5039, 47.3648) |
| Luminance | 0.1550 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.82
Iris
#6258C4
ΔE00 5.30
Slate Blue
#6A5ACD
ΔE00 5.83
Light Indigo
#6D5ACF
ΔE00 6.23
Cornflower Blue
#5170D7
ΔE00 6.80
Warm Blue
#4B57DB
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6166B8 #B8B361
analogous
#6191B8 #6166B8 #8861B8
triadic
#6166B8 #B86166 #66B861
tetradic
#6166B8 #B86191 #B8B361 #61B888
square
#6166B8 #B86191 #B8B361 #61B888
split-complementary
#6166B8 #B88861 #91B861
monochromatic
#31356D #444998 #6166B8 #8B8FCB #B5B8DE
Accessibility & contrast
On white
5.12
#6166B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#6166B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6166B8
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6166B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6166B8 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4571BB
Deuteranopia (green-blind)
#3F6AB6
Tritanopia (blue-blind)
#427786
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6166b8; /* rgb */ color: rgb(97, 102, 184); /* oklch */ color: oklch(54.5% 0.126 278.7);
Tailwind
colors: {
custom: {
50: '#9391ce',
500: '#6166b8',
950: '#000000',
},
}SCSS
$custom: #6166b8; $custom-light: #9391ce; $custom-dark: #000000;
JSON
{
"hex": "#6166b8",
"rgb": {
"r": 97,
"g": 102,
"b": 184
},
"hsl": {
"h": 236.552,
"s": 37.991,
"l": 55.098
},
"oklch": {
"l": 0.545,
"c": 0.12643,
"h": 278.7
},
"luminance": 0.15505
}Semantic roles & 50–950 ramp
primary
#6166B8
secondary
#CDCBA8
accent
#C75ACE
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0C13
muted
#7E7D82