#4166C1#4166C1
#4166C1 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.1% C 0.148 H 265.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #4166C1 |
|---|---|
| RGB | rgb(65, 102, 193) |
| HSL | hsl(223, 51%, 51%) |
| HSV | hsv(223, 66%, 76%) |
| CMYK | cmyk(66.3%, 47.2%, 0%, 24.3%) |
| CIE-LAB | lab(44.91, 16.70, -51.68) |
| CIE-LCH | lch(44.91, 54.31, 287.90°) |
| OKLab | oklab(53.09% -0.0127 -0.1479) |
| OKLCH | oklch(53.09% 0.148 265.1) |
| XYZ | xyz(16.5536, 14.4752, 52.3634) |
| Luminance | 0.1448 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 3.18
Royal Blue
#4169E1
ΔE00 4.24
Denim
#1560BD
ΔE00 4.44
Cornflower Blue
#5170D7
ΔE00 4.98
Mid Blue
#276AB3
ΔE00 5.31
Medium Blue
#2C6FBB
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4166C1 #C19C41
analogous
#41A6C1 #4166C1 #5C41C1
triadic
#4166C1 #C14166 #66C141
tetradic
#4166C1 #C141A6 #C19C41 #41C15C
square
#4166C1 #C141A6 #C19C41 #41C15C
split-complementary
#4166C1 #C15C41 #A6C141
monochromatic
#213566 #304D94 #4166C1 #6F8BD0 #9DB0DF
Accessibility & contrast
On white
5.39
#4166C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#4166C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4166C1
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4166C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4166C1 | 1.00 | 5.39 | 3.90 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3770C4
Deuteranopia (green-blind)
#1D65BF
Tritanopia (blue-blind)
#007B8A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #4166c1; /* rgb */ color: rgb(65, 102, 193); /* oklch */ color: oklch(53.1% 0.148 265.1);
Tailwind
colors: {
custom: {
50: '#8391d4',
500: '#4166c1',
950: '#000000',
},
}SCSS
$custom: #4166c1; $custom-light: #8391d4; $custom-dark: #000000;
JSON
{
"hex": "#4166c1",
"rgb": {
"r": 65,
"g": 102,
"b": 193
},
"hsl": {
"h": 222.656,
"s": 50.794,
"l": 50.588
},
"oklch": {
"l": 0.53087,
"c": 0.14849,
"h": 265.1
},
"luminance": 0.14477
}Semantic roles & 50–950 ramp
primary
#4166C1
secondary
#CBBB92
accent
#B24EDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83