#3f1eb0
a dark, vivid blue · warm · closest name: navy
RGB
63, 30, 176
HSL
254°, 71%, 40%
CMYK
64, 83, 0, 31
Luminance
0.0512
Every format
| HEX | #3f1eb0 |
| RGB | rgb(63, 30, 176) |
| HSL | hsl(254, 71%, 40%) |
| CMYK | cmyk(64%, 83%, 0%, 31%) |
| LAB | lab(27.1 53.1 -70.8) |
| LCH | lch(27.1 88.5 306.9) |
| OKLCH | oklch(0.396 0.208 281.5) |
Copy-ready code
/* CSS */
color: #3f1eb0;
background-color: #3f1eb0;
/* Tailwind (arbitrary) */
class="text-[#3f1eb0] bg-[#3f1eb0]"
/* SCSS */
$brand: #3f1eb0;
/* SwiftUI */
Color(red: 0.247, green: 0.118, blue: 0.690)
/* Android */
Color.parseColor("#3f1eb0")Accessibility — WCAG contrast
Aa
#3f1eb0 on white: 10.38:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#3f1eb0 on black: 2.02:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red24.7%
Green11.8%
Blue69.0%
CMYK percentages
Cyan64.2%
Magenta83.0%
Yellow0.0%
Key (black)31.0%
Color previews
#3f1eb0 text on a black background
contrast 2.02:1
Card sample
#3f1eb0 text on a white background
contrast 10.38:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #3f1eb0;
Background color
Panel with #3f1eb0 background
background-color: #3f1eb0;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #3f1eb0;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(63, 30, 176, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(63, 30, 176, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3f1eb0; background: linear-gradient(135deg, #3f1eb0, #A01EB0);