#4545ad
a balanced, soft blue · warm · closest name: slateblue
RGB
69, 69, 173
HSL
240°, 43%, 48%
CMYK
60, 60, 0, 32
Luminance
0.0854
Every format
| HEX | #4545ad |
| RGB | rgb(69, 69, 173) |
| HSL | hsl(240, 43%, 48%) |
| CMYK | cmyk(60%, 60%, 0%, 32%) |
| LAB | lab(35.1 31.5 -55.8) |
| LCH | lch(35.1 64.1 299.5) |
| OKLCH | oklch(0.453 0.162 277.8) |
Copy-ready code
/* CSS */
color: #4545ad;
background-color: #4545ad;
/* Tailwind (arbitrary) */
class="text-[#4545ad] bg-[#4545ad]"
/* SCSS */
$brand: #4545ad;
/* SwiftUI */
Color(red: 0.271, green: 0.271, blue: 0.678)
/* Android */
Color.parseColor("#4545ad")Accessibility — WCAG contrast
Aa
#4545ad on white: 7.76:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#4545ad on black: 2.71:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red27.1%
Green27.1%
Blue67.8%
CMYK percentages
Cyan60.1%
Magenta60.1%
Yellow0.0%
Key (black)32.2%
Color previews
#4545ad text on a black background
contrast 2.71:1
Card sample
#4545ad text on a white background
contrast 7.76:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #4545ad;
Background color
Panel with #4545ad background
background-color: #4545ad;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #4545ad;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(69, 69, 173, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(69, 69, 173, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4545ad; background: linear-gradient(135deg, #4545ad, #8A45AD);