#341abc
a dark, electric blue · warm · closest name: navy
RGB
52, 26, 188
HSL
250°, 76%, 42%
CMYK
72, 86, 0, 26
Luminance
0.0510
Every format
| HEX | #341abc |
| RGB | rgb(52, 26, 188) |
| HSL | hsl(250, 76%, 42%) |
| CMYK | cmyk(72%, 86%, 0%, 26%) |
| LAB | lab(27.0 57.2 -78.0) |
| LCH | lch(27.0 96.8 306.3) |
| OKLCH | oklch(0.397 0.227 275.8) |
Copy-ready code
/* CSS */
color: #341abc;
background-color: #341abc;
/* Tailwind (arbitrary) */
class="text-[#341abc] bg-[#341abc]"
/* SCSS */
$brand: #341abc;
/* SwiftUI */
Color(red: 0.204, green: 0.102, blue: 0.737)
/* Android */
Color.parseColor("#341abc")Accessibility — WCAG contrast
Aa
#341abc on white: 10.40:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#341abc on black: 2.02:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red20.4%
Green10.2%
Blue73.7%
CMYK percentages
Cyan72.3%
Magenta86.2%
Yellow0.0%
Key (black)26.3%
Color previews
#341abc text on a black background
contrast 2.02:1
Card sample
#341abc text on a white background
contrast 10.40:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #341abc;
Background color
Panel with #341abc background
background-color: #341abc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #341abc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(52, 26, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(52, 26, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #341abc; background: linear-gradient(135deg, #341abc, #A01ABC);