#6166BE#6166BE
#6166BE is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.9% C 0.135 H 278.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #6166BE |
|---|---|
| RGB | rgb(97, 102, 190) |
| HSL | hsl(237, 42%, 56%) |
| HSV | hsv(237, 49%, 75%) |
| CMYK | cmyk(48.9%, 46.3%, 0%, 25.5%) |
| CIE-LAB | lab(46.66, 22.13, -47.03) |
| CIE-LCH | lch(46.66, 51.98, 295.20°) |
| OKLab | oklab(54.87% 0.02 -0.1336) |
| OKLCH | oklch(54.87% 0.135 278.5) |
| XYZ | xyz(18.9725, 15.7608, 50.7476) |
| Luminance | 0.1576 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.04
Iris
#6258C4
ΔE00 4.94
Slate Blue
#6A5ACD
ΔE00 5.28
Light Indigo
#6D5ACF
ΔE00 5.66
Cornflower Blue
#5170D7
ΔE00 6.20
Warm Blue
#4B57DB
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6166BE #BEB961
analogous
#6195BE #6166BE #8B61BE
triadic
#6166BE #BE6166 #66BE61
tetradic
#6166BE #BE6195 #BEB961 #61BE8B
square
#6166BE #BE6195 #BEB961 #61BE8B
split-complementary
#6166BE #BE8B61 #95BE61
monochromatic
#303475 #4247A0 #6166BE #8C90D0 #B8BAE2
Accessibility & contrast
On white
5.06
#6166BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#6166BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6166BE
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6166BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6166BE | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4172C1
Deuteranopia (green-blind)
#396BBC
Tritanopia (blue-blind)
#3E7989
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #6166be; /* rgb */ color: rgb(97, 102, 190); /* oklch */ color: oklch(54.9% 0.135 278.5);
Tailwind
colors: {
custom: {
50: '#9491d2',
500: '#6166be',
950: '#000000',
},
}SCSS
$custom: #6166be; $custom-light: #9491d2; $custom-dark: #000000;
JSON
{
"hex": "#6166be",
"rgb": {
"r": 97,
"g": 102,
"b": 190
},
"hsl": {
"h": 236.774,
"s": 41.704,
"l": 56.275
},
"oklch": {
"l": 0.54871,
"c": 0.13506,
"h": 278.5
},
"luminance": 0.15762
}Semantic roles & 50–950 ramp
primary
#6166BE
secondary
#D1CEAA
accent
#CB56D2
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82