#3f2def
a balanced, electric blue · warm · closest name: blue
RGB
63, 45, 239
HSL
246°, 86%, 56%
CMYK
74, 81, 0, 6
Luminance
0.0917
Every format
| HEX | #3f2def |
| RGB | rgb(63, 45, 239) |
| HSL | hsl(246, 86%, 56%) |
| CMYK | cmyk(74%, 81%, 0%, 6%) |
| LAB | lab(36.3 64.7 -92.1) |
| LCH | lch(36.3 112.6 305.1) |
| OKLCH | oklch(0.480 0.267 273.8) |
Copy-ready code
/* CSS */
color: #3f2def;
background-color: #3f2def;
/* Tailwind (arbitrary) */
class="text-[#3f2def] bg-[#3f2def]"
/* SCSS */
$brand: #3f2def;
/* SwiftUI */
Color(red: 0.247, green: 0.176, blue: 0.937)
/* Android */
Color.parseColor("#3f2def")Accessibility — WCAG contrast
Aa
#3f2def on white: 7.41:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#3f2def on black: 2.83:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red24.7%
Green17.6%
Blue93.7%
CMYK percentages
Cyan73.6%
Magenta81.2%
Yellow0.0%
Key (black)6.3%
Color previews
#3f2def text on a black background
contrast 2.83:1
Card sample
#3f2def text on a white background
contrast 7.41:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #3f2def;
Background color
Panel with #3f2def background
background-color: #3f2def;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #3f2def;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(63, 45, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(63, 45, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3f2def; background: linear-gradient(135deg, #3f2def, #C02DEF);