#4166E2#4166E2
#4166E2 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.5% C 0.193 H 267.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #4166E2 |
|---|---|
| RGB | rgb(65, 102, 226) |
| HSL | hsl(226, 74%, 57%) |
| HSV | hsv(226, 71%, 89%) |
| CMYK | cmyk(71.2%, 54.9%, 0%, 11.4%) |
| CIE-LAB | lab(47.13, 28.51, -66.97) |
| CIE-LCH | lch(47.13, 72.79, 293.06°) |
| OKLab | oklab(55.48% -0.0094 -0.1929) |
| OKLCH | oklch(55.48% 0.193 267.2) |
| XYZ | xyz(20.6540, 16.1154, 73.9588) |
| Luminance | 0.1612 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 1.07
Bright Blue
#0165FC
ΔE00 3.30
Azul
#1D5DEC
ΔE00 3.36
Cornflower Blue
#5170D7
ΔE00 3.65
Cerulean Blue
#056EEE
ΔE00 4.90
Warm Blue
#4B57DB
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4166E2 #E2BD41
analogous
#41B7E2 #4166E2 #6D41E2
triadic
#4166E2 #E24166 #66E241
tetradic
#4166E2 #E241B7 #E2BD41 #41E26D
square
#4166E2 #E241B7 #E2BD41 #41E26D
split-complementary
#4166E2 #E26D41 #B7E241
monochromatic
#163392 #1E45C7 #4166E2 #7691EA #ABBCF2
Accessibility & contrast
On white
4.97
#4166E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#4166E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4166E2
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4166E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4166E2 | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#0069E0
Tritanopia (blue-blind)
#00849A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #4166e2; /* rgb */ color: rgb(65, 102, 226); /* oklch */ color: oklch(55.5% 0.193 267.2);
Tailwind
colors: {
custom: {
50: '#8991ec',
500: '#4166e2',
950: '#000000',
},
}SCSS
$custom: #4166e2; $custom-light: #8991ec; $custom-dark: #000000;
JSON
{
"hex": "#4166e2",
"rgb": {
"r": 65,
"g": 102,
"b": 226
},
"hsl": {
"h": 226.211,
"s": 73.516,
"l": 57.059
},
"oklch": {
"l": 0.55476,
"c": 0.19316,
"h": 267.2
},
"luminance": 0.16118
}Semantic roles & 50–950 ramp
primary
#4166E2
secondary
#E0D19F
accent
#C638F0
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84