#6166AF#6166AF
#6166AF is a mid, moderate blue. Relative luminance 0.151; OKLCH L 54.0% C 0.113 H 278.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #6166AF |
|---|---|
| RGB | rgb(97, 102, 175) |
| HSL | hsl(236, 33%, 53%) |
| HSV | hsv(236, 45%, 69%) |
| CMYK | cmyk(44.6%, 41.7%, 0%, 31.4%) |
| CIE-LAB | lab(45.82, 17.52, -39.63) |
| CIE-LCH | lch(45.82, 43.33, 293.84°) |
| OKLab | oklab(53.96% 0.0175 -0.1119) |
| OKLCH | oklch(53.96% 0.113 278.9) |
| XYZ | xyz(17.4167, 15.1384, 42.5534) |
| Luminance | 0.1514 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 6.16
Iris
#6258C4
ΔE00 6.17
Dusky Blue
#475F94
ΔE00 6.67
Slate Blue
#6A5ACD
ΔE00 6.89
Light Indigo
#6D5ACF
ΔE00 7.29
French Blue
#436BAD
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6166AF #AFAA61
analogous
#618DAF #6166AF #8361AF
triadic
#6166AF #AF6166 #66AF61
tetradic
#6166AF #AF618D #AFAA61 #61AF83
square
#6166AF #AF618D #AFAA61 #61AF83
split-complementary
#6166AF #AF8361 #8DAF61
monochromatic
#323563 #474B8C #6166AF #8A8DC4 #B2B5D8
Accessibility & contrast
On white
5.21
#6166AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#6166AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6166AF
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6166AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6166AF | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B70B2
Deuteranopia (green-blind)
#466AAD
Tritanopia (blue-blind)
#477582
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #6166af; /* rgb */ color: rgb(97, 102, 175); /* oklch */ color: oklch(54.0% 0.113 278.9);
Tailwind
colors: {
custom: {
50: '#9291c7',
500: '#6166af',
950: '#000000',
},
}SCSS
$custom: #6166af; $custom-light: #9291c7; $custom-dark: #000000;
JSON
{
"hex": "#6166af",
"rgb": {
"r": 97,
"g": 102,
"b": 175
},
"hsl": {
"h": 236.154,
"s": 32.773,
"l": 53.333
},
"oklch": {
"l": 0.53963,
"c": 0.11329,
"h": 278.9
},
"luminance": 0.15139
}Semantic roles & 50–950 ramp
primary
#6166AF
secondary
#C7C5A5
accent
#C25FC9
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0C13
muted
#7E7D82