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