#2020f4
a balanced, electric blue · warm · closest name: blue
RGB
32, 32, 244
HSL
240°, 91%, 54%
CMYK
87, 87, 0, 4
Luminance
0.0787
Every format
| HEX | #2020f4 |
| RGB | rgb(32, 32, 244) |
| HSL | hsl(240, 91%, 54%) |
| CMYK | cmyk(87%, 87%, 0%, 4%) |
| LAB | lab(33.7 69.8 -99.3) |
| LCH | lch(33.7 121.4 305.1) |
| OKLCH | oklch(0.459 0.288 267.3) |
Copy-ready code
/* CSS */
color: #2020f4;
background-color: #2020f4;
/* Tailwind (arbitrary) */
class="text-[#2020f4] bg-[#2020f4]"
/* SCSS */
$brand: #2020f4;
/* SwiftUI */
Color(red: 0.125, green: 0.125, blue: 0.957)
/* Android */
Color.parseColor("#2020f4")Accessibility — WCAG contrast
Aa
#2020f4 on white: 8.16:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#2020f4 on black: 2.57:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red12.5%
Green12.5%
Blue95.7%
CMYK percentages
Cyan86.9%
Magenta86.9%
Yellow0.0%
Key (black)4.3%
Color previews
#2020f4 text on a black background
contrast 2.57:1
Card sample
#2020f4 text on a white background
contrast 8.16:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2020f4;
Background color
Panel with #2020f4 background
background-color: #2020f4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2020f4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(32, 32, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(32, 32, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2020f4; background: linear-gradient(135deg, #2020f4, #AD20F4);