#4166CE#4166CE
#4166CE is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.0% C 0.166 H 266.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #4166CE |
|---|---|
| RGB | rgb(65, 102, 206) |
| HSL | hsl(224, 59%, 53%) |
| HSV | hsv(224, 68%, 81%) |
| CMYK | cmyk(68.4%, 50.5%, 0%, 19.2%) |
| CIE-LAB | lab(45.74, 21.35, -57.82) |
| CIE-LCH | lch(45.74, 61.64, 290.27°) |
| OKLab | oklab(53.99% -0.0111 -0.166) |
| OKLCH | oklch(53.99% 0.166 266.2) |
| XYZ | xyz(18.0680, 15.0810, 60.3393) |
| Luminance | 0.1508 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.64
Cornflower Blue
#5170D7
ΔE00 4.00
Azul
#1D5DEC
ΔE00 4.43
French Blue
#436BAD
ΔE00 4.59
Bright Blue
#0165FC
ΔE00 5.17
Cerulean Blue
#056EEE
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4166CE #CEA941
analogous
#41ADCE #4166CE #6241CE
triadic
#4166CE #CE4166 #66CE41
tetradic
#4166CE #CE41AD #CEA941 #41CE62
square
#4166CE #CE41AD #CEA941 #41CE62
split-complementary
#4166CE #CE6241 #ADCE41
monochromatic
#1E3576 #2B4BA7 #4166CE #728DDB #A2B4E7
Accessibility & contrast
On white
5.23
#4166CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#4166CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4166CE
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4166CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4166CE | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2873D2
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#007F90
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #4166ce; /* rgb */ color: rgb(65, 102, 206); /* oklch */ color: oklch(54.0% 0.166 266.2);
Tailwind
colors: {
custom: {
50: '#8591de',
500: '#4166ce',
950: '#000000',
},
}SCSS
$custom: #4166ce; $custom-light: #8591de; $custom-dark: #000000;
JSON
{
"hex": "#4166ce",
"rgb": {
"r": 65,
"g": 102,
"b": 206
},
"hsl": {
"h": 224.255,
"s": 58.996,
"l": 53.137
},
"oklch": {
"l": 0.53994,
"c": 0.16638,
"h": 266.2
},
"luminance": 0.15083
}Semantic roles & 50–950 ramp
primary
#4166CE
secondary
#D4C497
accent
#B946E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83