#412fba
a balanced, vivid blue · warm · closest name: navy
RGB
65, 47, 186
HSL
248°, 60%, 46%
CMYK
65, 75, 0, 27
Luminance
0.0670
Every format
| HEX | #412fba |
| RGB | rgb(65, 47, 186) |
| HSL | hsl(248, 60%, 46%) |
| CMYK | cmyk(65%, 75%, 0%, 27%) |
| LAB | lab(31.1 48.1 -70.0) |
| LCH | lch(31.1 85.0 304.5) |
| OKLCH | oklch(0.427 0.205 279.1) |
Copy-ready code
/* CSS */
color: #412fba;
background-color: #412fba;
/* Tailwind (arbitrary) */
class="text-[#412fba] bg-[#412fba]"
/* SCSS */
$brand: #412fba;
/* SwiftUI */
Color(red: 0.255, green: 0.184, blue: 0.729)
/* Android */
Color.parseColor("#412fba")Accessibility — WCAG contrast
Aa
#412fba on white: 8.97:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#412fba on black: 2.34:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.5%
Green18.4%
Blue72.9%
CMYK percentages
Cyan65.1%
Magenta74.7%
Yellow0.0%
Key (black)27.1%
Color previews
#412fba text on a black background
contrast 2.34:1
Card sample
#412fba text on a white background
contrast 8.97:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #412fba;
Background color
Panel with #412fba background
background-color: #412fba;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #412fba;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(65, 47, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(65, 47, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #412fba; background: linear-gradient(135deg, #412fba, #9E2FBA);