#302eef
a balanced, electric blue · warm · closest name: blue
RGB
48, 46, 239
HSL
241°, 86%, 56%
CMYK
80, 81, 0, 6
Luminance
0.0881
Every format
| HEX | #302eef |
| RGB | rgb(48, 46, 239) |
| HSL | hsl(241, 86%, 56%) |
| CMYK | cmyk(80%, 81%, 0%, 6%) |
| LAB | lab(35.6 63.4 -93.3) |
| LCH | lch(35.6 112.8 304.2) |
| OKLCH | oklch(0.473 0.270 270.1) |
Copy-ready code
/* CSS */
color: #302eef;
background-color: #302eef;
/* Tailwind (arbitrary) */
class="text-[#302eef] bg-[#302eef]"
/* SCSS */
$brand: #302eef;
/* SwiftUI */
Color(red: 0.188, green: 0.180, blue: 0.937)
/* Android */
Color.parseColor("#302eef")Accessibility — WCAG contrast
Aa
#302eef on white: 7.60:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#302eef on black: 2.76:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red18.8%
Green18.0%
Blue93.7%
CMYK percentages
Cyan79.9%
Magenta80.8%
Yellow0.0%
Key (black)6.3%
Color previews
#302eef text on a black background
contrast 2.76:1
Card sample
#302eef text on a white background
contrast 7.60:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #302eef;
Background color
Panel with #302eef background
background-color: #302eef;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #302eef;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(48, 46, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(48, 46, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #302eef; background: linear-gradient(135deg, #302eef, #B12EEF);