#2d3eb1
a dark, vivid blue · warm · closest name: slateblue
RGB
45, 62, 177
HSL
232°, 60%, 44%
CMYK
75, 65, 0, 31
Luminance
0.0718
Every format
| HEX | #2d3eb1 |
| RGB | rgb(45, 62, 177) |
| HSL | hsl(232, 60%, 44%) |
| CMYK | cmyk(75%, 65%, 0%, 31%) |
| LAB | lab(32.2 33.9 -62.9) |
| LCH | lch(32.2 71.5 298.3) |
| OKLCH | oklch(0.429 0.182 270.1) |
Copy-ready code
/* CSS */
color: #2d3eb1;
background-color: #2d3eb1;
/* Tailwind (arbitrary) */
class="text-[#2d3eb1] bg-[#2d3eb1]"
/* SCSS */
$brand: #2d3eb1;
/* SwiftUI */
Color(red: 0.176, green: 0.243, blue: 0.694)
/* Android */
Color.parseColor("#2d3eb1")Accessibility — WCAG contrast
Aa
#2d3eb1 on white: 8.62:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#2d3eb1 on black: 2.44:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red17.6%
Green24.3%
Blue69.4%
CMYK percentages
Cyan74.6%
Magenta65.0%
Yellow0.0%
Key (black)30.6%
Color previews
#2d3eb1 text on a black background
contrast 2.44:1
Card sample
#2d3eb1 text on a white background
contrast 8.62:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2d3eb1;
Background color
Panel with #2d3eb1 background
background-color: #2d3eb1;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2d3eb1;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(45, 62, 177, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 62, 177, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2d3eb1; background: linear-gradient(135deg, #2d3eb1, #742DB1);