#367df1
a balanced, electric blue · cool · closest name: royalblue
RGB
54, 125, 241
HSL
217°, 87%, 58%
CMYK
78, 48, 0, 6
Luminance
0.2180
Every format
| HEX | #367df1 |
| RGB | rgb(54, 125, 241) |
| HSL | hsl(217, 87%, 58%) |
| CMYK | cmyk(78%, 48%, 0%, 6%) |
| LAB | lab(53.8 18.3 -64.6) |
| LCH | lch(53.8 67.1 285.8) |
| OKLCH | oklch(0.608 0.189 259.8) |
Copy-ready code
/* CSS */
color: #367df1;
background-color: #367df1;
/* Tailwind (arbitrary) */
class="text-[#367df1] bg-[#367df1]"
/* SCSS */
$brand: #367df1;
/* SwiftUI */
Color(red: 0.212, green: 0.490, blue: 0.945)
/* Android */
Color.parseColor("#367df1")Accessibility — WCAG contrast
Aa
#367df1 on white: 3.92:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#367df1 on black: 5.36:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red21.2%
Green49.0%
Blue94.5%
CMYK percentages
Cyan77.6%
Magenta48.1%
Yellow0.0%
Key (black)5.5%
Color previews
#367df1 text on a black background
contrast 5.36:1
Card sample
#367df1 text on a white background
contrast 3.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #367df1;
Background color
Panel with #367df1 background
background-color: #367df1;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #367df1;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(54, 125, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(54, 125, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #367df1; background: linear-gradient(135deg, #367df1, #6B36F1);