#4162DC#4162DC
#4162DC is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.2% C 0.190 H 268.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #4162DC |
|---|---|
| RGB | rgb(65, 98, 220) |
| HSL | hsl(227, 69%, 56%) |
| HSV | hsv(227, 70%, 86%) |
| CMYK | cmyk(70.5%, 55.5%, 0%, 13.7%) |
| CIE-LAB | lab(45.67, 28.89, -65.94) |
| CIE-LCH | lch(45.67, 71.99, 293.66°) |
| OKLab | oklab(54.24% -0.0066 -0.1899) |
| OKLCH | oklch(54.24% 0.19 268) |
| XYZ | xyz(19.4615, 15.0245, 69.5706) |
| Luminance | 0.1503 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.50
Azul
#1D5DEC
ΔE00 2.77
Warm Blue
#4B57DB
ΔE00 4.11
Bright Blue
#0165FC
ΔE00 4.18
Cornflower Blue
#5170D7
ΔE00 4.80
Electric Blue
#0652FF
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4162DC #DCBB41
analogous
#41AFDC #4162DC #6D41DC
triadic
#4162DC #DC4162 #62DC41
tetradic
#4162DC #DC41AF #DCBB41 #41DC6D
square
#4162DC #DC41AF #DCBB41 #41DC6D
split-complementary
#4162DC #DC6D41 #AFDC41
monochromatic
#193189 #2344BD #4162DC #758DE6 #A8B7EF
Accessibility & contrast
On white
5.24
#4162DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#4162DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4162DC
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4162DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4162DC | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#0065DA
Tritanopia (blue-blind)
#008095
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #4162dc; /* rgb */ color: rgb(65, 98, 220); /* oklch */ color: oklch(54.2% 0.190 268.0);
Tailwind
colors: {
custom: {
50: '#888ee8',
500: '#4162dc',
950: '#000000',
},
}SCSS
$custom: #4162dc; $custom-light: #888ee8; $custom-dark: #000000;
JSON
{
"hex": "#4162dc",
"rgb": {
"r": 65,
"g": 98,
"b": 220
},
"hsl": {
"h": 227.226,
"s": 68.889,
"l": 55.882
},
"oklch": {
"l": 0.54244,
"c": 0.19006,
"h": 268
},
"luminance": 0.15026
}Semantic roles & 50–950 ramp
primary
#4162DC
secondary
#DDCF9C
accent
#C63CEC
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84