#4646cc
a balanced, vivid blue · warm · closest name: slateblue
RGB
70, 70, 204
HSL
240°, 57%, 54%
CMYK
66, 66, 0, 20
Luminance
0.1004
Every format
| HEX | #4646cc |
| RGB | rgb(70, 70, 204) |
| HSL | hsl(240, 57%, 54%) |
| CMYK | cmyk(66%, 66%, 0%, 20%) |
| LAB | lab(37.9 41.4 -69.4) |
| LCH | lch(37.9 80.8 300.8) |
| OKLCH | oklch(0.482 0.201 275.8) |
Copy-ready code
/* CSS */
color: #4646cc;
background-color: #4646cc;
/* Tailwind (arbitrary) */
class="text-[#4646cc] bg-[#4646cc]"
/* SCSS */
$brand: #4646cc;
/* SwiftUI */
Color(red: 0.275, green: 0.275, blue: 0.800)
/* Android */
Color.parseColor("#4646cc")Accessibility — WCAG contrast
Aa
#4646cc on white: 6.98:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#4646cc on black: 3.01:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red27.5%
Green27.5%
Blue80.0%
CMYK percentages
Cyan65.7%
Magenta65.7%
Yellow0.0%
Key (black)20.0%
Color previews
#4646cc text on a black background
contrast 3.01:1
Card sample
#4646cc text on a white background
contrast 6.98:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #4646cc;
Background color
Panel with #4646cc background
background-color: #4646cc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #4646cc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(70, 70, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(70, 70, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4646cc; background: linear-gradient(135deg, #4646cc, #9F46CC);