#4161E2#4161E2
#4161E2 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.5% C 0.199 H 268.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #4161E2 |
|---|---|
| RGB | rgb(65, 97, 226) |
| HSL | hsl(228, 74%, 57%) |
| HSV | hsv(228, 71%, 89%) |
| CMYK | cmyk(71.2%, 57.1%, 0%, 11.4%) |
| CIE-LAB | lab(45.86, 31.65, -69.04) |
| CIE-LCH | lch(45.86, 75.95, 294.63°) |
| OKLab | oklab(54.52% -0.0056 -0.1991) |
| OKLCH | oklch(54.52% 0.199 268.4) |
| XYZ | xyz(20.1774, 15.1621, 73.8000) |
| Luminance | 0.1516 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 2.48
Royal Blue
#4169E1
ΔE00 2.78
Warm Blue
#4B57DB
ΔE00 3.74
Bright Blue
#0165FC
ΔE00 3.93
Cornflower Blue
#5170D7
ΔE00 5.17
Electric Blue
#0652FF
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4161E2 #E2C241
analogous
#41B1E2 #4161E2 #7241E2
triadic
#4161E2 #E24161 #61E241
tetradic
#4161E2 #E241B1 #E2C241 #41E272
square
#4161E2 #E241B1 #E2C241 #41E272
split-complementary
#4161E2 #E27241 #B1E241
monochromatic
#162F92 #1E40C7 #4161E2 #768DEA #ABB9F2
Accessibility & contrast
On white
5.21
#4161E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#4161E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4161E2
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4161E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4161E2 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#008198
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4161e2; /* rgb */ color: rgb(65, 97, 226); /* oklch */ color: oklch(54.5% 0.199 268.4);
Tailwind
colors: {
custom: {
50: '#8a8dec',
500: '#4161e2',
950: '#000000',
},
}SCSS
$custom: #4161e2; $custom-light: #8a8dec; $custom-dark: #000000;
JSON
{
"hex": "#4161e2",
"rgb": {
"r": 65,
"g": 97,
"b": 226
},
"hsl": {
"h": 228.075,
"s": 73.516,
"l": 57.059
},
"oklch": {
"l": 0.54524,
"c": 0.19915,
"h": 268.4
},
"luminance": 0.15164
}Semantic roles & 50–950 ramp
primary
#4161E2
secondary
#E0D39F
accent
#CB38F0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84