#6166B0#6166B0
#6166B0 is a mid, moderate blue. Relative luminance 0.152; OKLCH L 54.0% C 0.115 H 278.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #6166B0 |
|---|---|
| RGB | rgb(97, 102, 176) |
| HSL | hsl(236, 33%, 54%) |
| HSV | hsv(236, 45%, 69%) |
| CMYK | cmyk(44.9%, 42%, 0%, 31%) |
| CIE-LAB | lab(45.88, 17.82, -40.13) |
| CIE-LCH | lch(45.88, 43.91, 293.94°) |
| OKLab | oklab(54.02% 0.0177 -0.1134) |
| OKLCH | oklch(54.02% 0.115 278.9) |
| XYZ | xyz(17.5153, 15.1779, 43.0726) |
| Luminance | 0.1518 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 6.01
Iris
#6258C4
ΔE00 6.06
Dusky Blue
#475F94
ΔE00 6.74
Slate Blue
#6A5ACD
ΔE00 6.76
Light Indigo
#6D5ACF
ΔE00 7.16
French Blue
#436BAD
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6166B0 #B0AB61
analogous
#618DB0 #6166B0 #8361B0
triadic
#6166B0 #B06166 #66B061
tetradic
#6166B0 #B0618D #B0AB61 #61B083
square
#6166B0 #B0618D #B0AB61 #61B083
split-complementary
#6166B0 #B08361 #8DB061
monochromatic
#323564 #474B8D #6166B0 #8A8EC4 #B3B5D9
Accessibility & contrast
On white
5.20
#6166B0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#6166B0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6166B0
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6166B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6166B0 | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A70B3
Deuteranopia (green-blind)
#456AAE
Tritanopia (blue-blind)
#477582
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #6166b0; /* rgb */ color: rgb(97, 102, 176); /* oklch */ color: oklch(54.0% 0.115 278.9);
Tailwind
colors: {
custom: {
50: '#9291c8',
500: '#6166b0',
950: '#000000',
},
}SCSS
$custom: #6166b0; $custom-light: #9291c8; $custom-dark: #000000;
JSON
{
"hex": "#6166b0",
"rgb": {
"r": 97,
"g": 102,
"b": 176
},
"hsl": {
"h": 236.203,
"s": 33.333,
"l": 53.529
},
"oklch": {
"l": 0.54022,
"c": 0.11476,
"h": 278.9
},
"luminance": 0.15179
}Semantic roles & 50–950 ramp
primary
#6166B0
secondary
#C7C5A5
accent
#C35EC9
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0C13
muted
#7E7D82