#4166C7#4166C7
#4166C7 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.5% C 0.157 H 265.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #4166C7 |
|---|---|
| RGB | rgb(65, 102, 199) |
| HSL | hsl(223, 54%, 52%) |
| HSV | hsv(223, 67%, 78%) |
| CMYK | cmyk(67.3%, 48.7%, 0%, 22%) |
| CIE-LAB | lab(45.29, 18.84, -54.53) |
| CIE-LCH | lch(45.29, 57.70, 289.06°) |
| OKLab | oklab(53.5% -0.0119 -0.1563) |
| OKLCH | oklch(53.5% 0.157 265.7) |
| XYZ | xyz(17.2366, 14.7484, 55.9601) |
| Luminance | 0.1475 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.49
French Blue
#436BAD
ΔE00 3.82
Cornflower Blue
#5170D7
ΔE00 4.48
Denim
#1560BD
ΔE00 4.83
Azul
#1D5DEC
ΔE00 5.09
Mid Blue
#276AB3
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4166C7 #C7A241
analogous
#41A9C7 #4166C7 #5F41C7
triadic
#4166C7 #C74166 #66C741
tetradic
#4166C7 #C741A9 #C7A241 #41C75F
square
#4166C7 #C741A9 #C7A241 #41C75F
split-complementary
#4166C7 #C75F41 #A9C741
monochromatic
#20366D #2E4D9D #4166C7 #708CD5 #A0B2E3
Accessibility & contrast
On white
5.32
#4166C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#4166C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4166C7
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4166C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4166C7 | 1.00 | 5.32 | 3.95 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3172CB
Deuteranopia (green-blind)
#0C65C5
Tritanopia (blue-blind)
#007D8D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #4166c7; /* rgb */ color: rgb(65, 102, 199); /* oklch */ color: oklch(53.5% 0.157 265.7);
Tailwind
colors: {
custom: {
50: '#8491d9',
500: '#4166c7',
950: '#000000',
},
}SCSS
$custom: #4166c7; $custom-light: #8491d9; $custom-dark: #000000;
JSON
{
"hex": "#4166c7",
"rgb": {
"r": 65,
"g": 102,
"b": 199
},
"hsl": {
"h": 223.433,
"s": 54.472,
"l": 51.765
},
"oklch": {
"l": 0.535,
"c": 0.15679,
"h": 265.7
},
"luminance": 0.1475
}Semantic roles & 50–950 ramp
primary
#4166C7
secondary
#CFBF95
accent
#B54ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C15
muted
#7D7D83