#4166C5#4166C5
#4166C5 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.4% C 0.154 H 265.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #4166C5 |
|---|---|
| RGB | rgb(65, 102, 197) |
| HSL | hsl(223, 53%, 51%) |
| HSV | hsv(223, 67%, 77%) |
| CMYK | cmyk(67%, 48.2%, 0%, 22.7%) |
| CIE-LAB | lab(45.16, 18.13, -53.59) |
| CIE-LCH | lch(45.16, 56.57, 288.69°) |
| OKLab | oklab(53.36% -0.0121 -0.1535) |
| OKLCH | oklch(53.36% 0.154 265.5) |
| XYZ | xyz(17.0059, 14.6561, 54.7452) |
| Luminance | 0.1466 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 3.60
Royal Blue
#4169E1
ΔE00 3.74
Cornflower Blue
#5170D7
ΔE00 4.64
Denim
#1560BD
ΔE00 4.69
Azul
#1D5DEC
ΔE00 5.29
Mid Blue
#276AB3
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4166C5 #C5A041
analogous
#41A8C5 #4166C5 #5E41C5
triadic
#4166C5 #C54166 #66C541
tetradic
#4166C5 #C541A8 #C5A041 #41C55E
square
#4166C5 #C541A8 #C5A041 #41C55E
split-complementary
#4166C5 #C55E41 #A8C541
monochromatic
#21356B #2F4D9A #4166C5 #708CD3 #9FB2E2
Accessibility & contrast
On white
5.34
#4166C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#4166C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4166C5
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4166C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4166C5 | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3371C8
Deuteranopia (green-blind)
#1365C3
Tritanopia (blue-blind)
#007C8C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #4166c5; /* rgb */ color: rgb(65, 102, 197); /* oklch */ color: oklch(53.4% 0.154 265.5);
Tailwind
colors: {
custom: {
50: '#8491d7',
500: '#4166c5',
950: '#000000',
},
}SCSS
$custom: #4166c5; $custom-light: #8491d7; $custom-dark: #000000;
JSON
{
"hex": "#4166c5",
"rgb": {
"r": 65,
"g": 102,
"b": 197
},
"hsl": {
"h": 223.182,
"s": 53.226,
"l": 51.373
},
"oklch": {
"l": 0.53361,
"c": 0.15403,
"h": 265.5
},
"luminance": 0.14658
}Semantic roles & 50–950 ramp
primary
#4166C5
secondary
#CEBE94
accent
#B44BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83