#162ef1
a balanced, electric blue · warm · closest name: blue
RGB
22, 46, 241
HSL
233°, 89%, 52%
CMYK
91, 81, 0, 6
Luminance
0.0848
Every format
| HEX | #162ef1 |
| RGB | rgb(22, 46, 241) |
| HSL | hsl(233, 89%, 52%) |
| CMYK | cmyk(91%, 81%, 0%, 6%) |
| LAB | lab(35.0 63.1 -95.5) |
| LCH | lch(35.0 114.5 303.4) |
| OKLCH | oklch(0.466 0.278 265.8) |
Copy-ready code
/* CSS */
color: #162ef1;
background-color: #162ef1;
/* Tailwind (arbitrary) */
class="text-[#162ef1] bg-[#162ef1]"
/* SCSS */
$brand: #162ef1;
/* SwiftUI */
Color(red: 0.086, green: 0.180, blue: 0.945)
/* Android */
Color.parseColor("#162ef1")Accessibility — WCAG contrast
Aa
#162ef1 on white: 7.79:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#162ef1 on black: 2.70:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red8.6%
Green18.0%
Blue94.5%
CMYK percentages
Cyan90.9%
Magenta80.9%
Yellow0.0%
Key (black)5.5%
Color previews
#162ef1 text on a black background
contrast 2.70:1
Card sample
#162ef1 text on a white background
contrast 7.79:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #162ef1;
Background color
Panel with #162ef1 background
background-color: #162ef1;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #162ef1;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(22, 46, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(22, 46, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #162ef1; background: linear-gradient(135deg, #162ef1, #9016F1);