#367af4
a balanced, electric blue · cool · closest name: royalblue
RGB
54, 122, 244
HSL
219°, 90%, 58%
CMYK
78, 50, 0, 4
Luminance
0.2123
Every format
| HEX | #367af4 |
| RGB | rgb(54, 122, 244) |
| HSL | hsl(219, 90%, 58%) |
| CMYK | cmyk(78%, 50%, 0%, 4%) |
| LAB | lab(53.2 21.2 -67.2) |
| LCH | lch(53.2 70.5 287.5) |
| OKLCH | oklch(0.604 0.196 261.0) |
Copy-ready code
/* CSS */
color: #367af4;
background-color: #367af4;
/* Tailwind (arbitrary) */
class="text-[#367af4] bg-[#367af4]"
/* SCSS */
$brand: #367af4;
/* SwiftUI */
Color(red: 0.212, green: 0.478, blue: 0.957)
/* Android */
Color.parseColor("#367af4")Accessibility — WCAG contrast
Aa
#367af4 on white: 4.00:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#367af4 on black: 5.25:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red21.2%
Green47.8%
Blue95.7%
CMYK percentages
Cyan77.9%
Magenta50.0%
Yellow0.0%
Key (black)4.3%
Color previews
#367af4 text on a black background
contrast 5.25:1
Card sample
#367af4 text on a white background
contrast 4.00:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #367af4;
Background color
Panel with #367af4 background
background-color: #367af4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #367af4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(54, 122, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(54, 122, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #367af4; background: linear-gradient(135deg, #367af4, #7036F4);