#4162E0#4162E0
#4162E0 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.6% C 0.195 H 268.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #4162E0 |
|---|---|
| RGB | rgb(65, 98, 224) |
| HSL | hsl(228, 72%, 57%) |
| HSV | hsv(228, 71%, 88%) |
| CMYK | cmyk(71%, 56.3%, 0%, 12.2%) |
| CIE-LAB | lab(45.96, 30.32, -67.73) |
| CIE-LCH | lch(45.96, 74.21, 294.11°) |
| OKLab | oklab(54.56% -0.0065 -0.1952) |
| OKLCH | oklch(54.56% 0.195 268.1) |
| XYZ | xyz(19.9975, 15.2389, 72.3941) |
| Luminance | 0.1524 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.44
Azul
#1D5DEC
ΔE00 2.62
Bright Blue
#0165FC
ΔE00 3.88
Warm Blue
#4B57DB
ΔE00 4.06
Cornflower Blue
#5170D7
ΔE00 4.83
Electric Blue
#0652FF
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4162E0 #E0BF41
analogous
#41B2E0 #4162E0 #7041E0
triadic
#4162E0 #E04162 #62E041
tetradic
#4162E0 #E041B2 #E0BF41 #41E070
square
#4162E0 #E041B2 #E0BF41 #41E070
split-complementary
#4162E0 #E07041 #B2E041
monochromatic
#17308F #2042C4 #4162E0 #768DE9 #AAB9F1
Accessibility & contrast
On white
5.19
#4162E0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#4162E0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4162E0
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4162E0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4162E0 | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E4
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#008197
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4162e0; /* rgb */ color: rgb(65, 98, 224); /* oklch */ color: oklch(54.6% 0.195 268.1);
Tailwind
colors: {
custom: {
50: '#898eeb',
500: '#4162e0',
950: '#000000',
},
}SCSS
$custom: #4162e0; $custom-light: #898eeb; $custom-dark: #000000;
JSON
{
"hex": "#4162e0",
"rgb": {
"r": 65,
"g": 98,
"b": 224
},
"hsl": {
"h": 227.547,
"s": 71.946,
"l": 56.667
},
"oklch": {
"l": 0.54555,
"c": 0.19533,
"h": 268.1
},
"luminance": 0.15241
}Semantic roles & 50–950 ramp
primary
#4162E0
secondary
#DFD19E
accent
#C939EF
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84