#367df8
a balanced, electric blue · cool · closest name: royalblue
RGB
54, 125, 248
HSL
218°, 93%, 59%
CMYK
78, 50, 0, 3
Luminance
0.2223
Every format
| HEX | #367df8 |
| RGB | rgb(54, 125, 248) |
| HSL | hsl(218, 93%, 59%) |
| CMYK | cmyk(78%, 50%, 0%, 3%) |
| LAB | lab(54.3 20.8 -67.7) |
| LCH | lch(54.3 70.9 287.1) |
| OKLCH | oklch(0.613 0.198 260.6) |
Copy-ready code
/* CSS */
color: #367df8;
background-color: #367df8;
/* Tailwind (arbitrary) */
class="text-[#367df8] bg-[#367df8]"
/* SCSS */
$brand: #367df8;
/* SwiftUI */
Color(red: 0.212, green: 0.490, blue: 0.973)
/* Android */
Color.parseColor("#367df8")Accessibility — WCAG contrast
Aa
#367df8 on white: 3.86:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#367df8 on black: 5.45:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red21.2%
Green49.0%
Blue97.3%
CMYK percentages
Cyan78.2%
Magenta49.6%
Yellow0.0%
Key (black)2.7%
Color previews
#367df8 text on a black background
contrast 5.45:1
Card sample
#367df8 text on a white background
contrast 3.86:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #367df8;
Background color
Panel with #367df8 background
background-color: #367df8;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #367df8;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(54, 125, 248, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(54, 125, 248, 0.45);
Border & gradient
Gradient panel
border: 3px solid #367df8; background: linear-gradient(135deg, #367df8, #7036F8);