#367df4
a balanced, electric blue · cool · closest name: royalblue
RGB
54, 125, 244
HSL
218°, 90%, 58%
CMYK
78, 49, 0, 4
Luminance
0.2198
Every format
| HEX | #367df4 |
| RGB | rgb(54, 125, 244) |
| HSL | hsl(218, 90%, 58%) |
| CMYK | cmyk(78%, 49%, 0%, 4%) |
| LAB | lab(54.0 19.4 -65.9) |
| LCH | lch(54.0 68.7 286.4) |
| OKLCH | oklch(0.610 0.193 260.2) |
Copy-ready code
/* CSS */
color: #367df4;
background-color: #367df4;
/* Tailwind (arbitrary) */
class="text-[#367df4] bg-[#367df4]"
/* SCSS */
$brand: #367df4;
/* SwiftUI */
Color(red: 0.212, green: 0.490, blue: 0.957)
/* Android */
Color.parseColor("#367df4")Accessibility — WCAG contrast
Aa
#367df4 on white: 3.89:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#367df4 on black: 5.40:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red21.2%
Green49.0%
Blue95.7%
CMYK percentages
Cyan77.9%
Magenta48.8%
Yellow0.0%
Key (black)4.3%
Color previews
#367df4 text on a black background
contrast 5.40:1
Card sample
#367df4 text on a white background
contrast 3.89:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #367df4;
Background color
Panel with #367df4 background
background-color: #367df4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #367df4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(54, 125, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(54, 125, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #367df4; background: linear-gradient(135deg, #367df4, #6E36F4);