#4166AB#4166AB
#4166AB is a mid, moderate blue. Relative luminance 0.136; OKLCH L 51.7% C 0.118 H 261.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #4166AB |
|---|---|
| RGB | rgb(65, 102, 171) |
| HSL | hsl(219, 45%, 46%) |
| HSV | hsv(219, 62%, 67%) |
| CMYK | cmyk(62%, 40.4%, 0%, 32.9%) |
| CIE-LAB | lab(43.60, 8.89, -40.93) |
| CIE-LCH | lch(43.60, 41.89, 282.26°) |
| OKLab | oklab(51.66% -0.0167 -0.1164) |
| OKLCH | oklch(51.66% 0.118 261.8) |
| XYZ | xyz(14.2795, 13.5656, 40.3861) |
| Luminance | 0.1357 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 1.80
Denim
#1560BD
ΔE00 4.05
Mid Blue
#276AB3
ΔE00 4.19
Dusky Blue
#475F94
ΔE00 4.29
Denim (survey)
#3B638C
ΔE00 4.65
Denim Blue
#3B5B92
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4166AB #AB8641
analogous
#419BAB #4166AB #5141AB
triadic
#4166AB #AB4166 #66AB41
tetradic
#4166AB #AB419B #AB8641 #41AB51
square
#4166AB #AB419B #AB8641 #41AB51
split-complementary
#4166AB #AB5141 #9BAB41
monochromatic
#1F3152 #304C7F #4166AB #6586C4 #91A9D5
Accessibility & contrast
On white
5.66
#4166AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#4166AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4166AB
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4166AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4166AB | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#486CAE
Deuteranopia (green-blind)
#3963AA
Tritanopia (blue-blind)
#007680
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #4166ab; /* rgb */ color: rgb(65, 102, 171); /* oklch */ color: oklch(51.7% 0.118 261.8);
Tailwind
colors: {
custom: {
50: '#7f91c4',
500: '#4166ab',
950: '#000000',
},
}SCSS
$custom: #4166ab; $custom-light: #7f91c4; $custom-dark: #000000;
JSON
{
"hex": "#4166ab",
"rgb": {
"r": 65,
"g": 102,
"b": 171
},
"hsl": {
"h": 219.057,
"s": 44.915,
"l": 46.275
},
"oklch": {
"l": 0.51662,
"c": 0.11758,
"h": 261.8
},
"luminance": 0.13567
}Semantic roles & 50–950 ramp
primary
#4166AB
secondary
#C1AD87
accent
#A753D5
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82