#002cf4
a balanced, electric blue · warm · closest name: blue
RGB
0, 44, 244
HSL
229°, 100%, 48%
CMYK
100, 82, 0, 4
Luminance
0.0833
Every format
| HEX | #002cf4 |
| RGB | rgb(0, 44, 244) |
| HSL | hsl(229, 100%, 48%) |
| CMYK | cmyk(100%, 82%, 0%, 4%) |
| LAB | lab(34.7 64.6 -97.7) |
| LCH | lch(34.7 117.1 303.5) |
| OKLCH | oklch(0.464 0.285 264.2) |
Copy-ready code
/* CSS */
color: #002cf4;
background-color: #002cf4;
/* Tailwind (arbitrary) */
class="text-[#002cf4] bg-[#002cf4]"
/* SCSS */
$brand: #002cf4;
/* SwiftUI */
Color(red: 0.000, green: 0.173, blue: 0.957)
/* Android */
Color.parseColor("#002cf4")Accessibility — WCAG contrast
Aa
#002cf4 on white: 7.88:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#002cf4 on black: 2.67:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red0.0%
Green17.3%
Blue95.7%
CMYK percentages
Cyan100.0%
Magenta82.0%
Yellow0.0%
Key (black)4.3%
Color previews
#002cf4 text on a black background
contrast 2.67:1
Card sample
#002cf4 text on a white background
contrast 7.88:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #002cf4;
Background color
Panel with #002cf4 background
background-color: #002cf4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #002cf4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(0, 44, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 44, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #002cf4; background: linear-gradient(135deg, #002cf4, #7700F4);