#333df4
a balanced, electric blue · warm · closest name: blue
RGB
51, 61, 244
HSL
237°, 90%, 58%
CMYK
79, 75, 0, 4
Luminance
0.1057
Every format
| HEX | #333df4 |
| RGB | rgb(51, 61, 244) |
| HSL | hsl(237, 90%, 58%) |
| CMYK | cmyk(79%, 75%, 0%, 4%) |
| LAB | lab(38.9 57.8 -90.7) |
| LCH | lch(38.9 107.6 302.5) |
| OKLCH | oklch(0.497 0.263 269.7) |
Copy-ready code
/* CSS */
color: #333df4;
background-color: #333df4;
/* Tailwind (arbitrary) */
class="text-[#333df4] bg-[#333df4]"
/* SCSS */
$brand: #333df4;
/* SwiftUI */
Color(red: 0.200, green: 0.239, blue: 0.957)
/* Android */
Color.parseColor("#333df4")Accessibility — WCAG contrast
Aa
#333df4 on white: 6.74:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#333df4 on black: 3.11:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red20.0%
Green23.9%
Blue95.7%
CMYK percentages
Cyan79.1%
Magenta75.0%
Yellow0.0%
Key (black)4.3%
Color previews
#333df4 text on a black background
contrast 3.11:1
Card sample
#333df4 text on a white background
contrast 6.74:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #333df4;
Background color
Panel with #333df4 background
background-color: #333df4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #333df4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(51, 61, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(51, 61, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #333df4; background: linear-gradient(135deg, #333df4, #AA33F4);