#6166B2#6166B2
#6166B2 is a mid, moderate blue. Relative luminance 0.153; OKLCH L 54.1% C 0.118 H 278.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #6166B2 |
|---|---|
| RGB | rgb(97, 102, 178) |
| HSL | hsl(236, 34%, 54%) |
| HSV | hsv(236, 46%, 70%) |
| CMYK | cmyk(45.5%, 42.7%, 0%, 30.2%) |
| CIE-LAB | lab(45.98, 18.43, -41.13) |
| CIE-LCH | lch(45.98, 45.07, 294.14°) |
| OKLab | oklab(54.14% 0.0181 -0.1163) |
| OKLCH | oklch(54.14% 0.118 278.8) |
| XYZ | xyz(17.7146, 15.2576, 44.1225) |
| Luminance | 0.1526 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 5.70
Iris
#6258C4
ΔE00 5.84
Slate Blue
#6A5ACD
ΔE00 6.51
Dusky Blue
#475F94
ΔE00 6.89
Light Indigo
#6D5ACF
ΔE00 6.91
French Blue
#436BAD
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6166B2 #B2AD61
analogous
#618FB2 #6166B2 #8561B2
triadic
#6166B2 #B26166 #66B261
tetradic
#6166B2 #B2618F #B2AD61 #61B285
square
#6166B2 #B2618F #B2AD61 #61B285
split-complementary
#6166B2 #B28561 #8FB261
monochromatic
#323567 #464B90 #6166B2 #8A8EC6 #B3B6DA
Accessibility & contrast
On white
5.18
#6166B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#6166B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6166B2
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6166B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6166B2 | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#436AB0
Tritanopia (blue-blind)
#457683
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #6166b2; /* rgb */ color: rgb(97, 102, 178); /* oklch */ color: oklch(54.1% 0.118 278.8);
Tailwind
colors: {
custom: {
50: '#9291c9',
500: '#6166b2',
950: '#000000',
},
}SCSS
$custom: #6166b2; $custom-light: #9291c9; $custom-dark: #000000;
JSON
{
"hex": "#6166b2",
"rgb": {
"r": 97,
"g": 102,
"b": 178
},
"hsl": {
"h": 236.296,
"s": 34.468,
"l": 53.922
},
"oklch": {
"l": 0.5414,
"c": 0.11769,
"h": 278.8
},
"luminance": 0.15258
}Semantic roles & 50–950 ramp
primary
#6166B2
secondary
#C9C7A6
accent
#C45DCB
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C13
muted
#7E7D82