#3344aa
a dark, vivid blue · warm · closest name: slateblue
RGB
51, 68, 170
HSL
231°, 54%, 43%
CMYK
70, 60, 0, 33
Luminance
0.0774
Every format
| HEX | #3344aa |
| RGB | rgb(51, 68, 170) |
| HSL | hsl(231, 54%, 43%) |
| CMYK | cmyk(70%, 60%, 0%, 33%) |
| LAB | lab(33.4 28.2 -56.8) |
| LCH | lch(33.4 63.4 296.5) |
| OKLCH | oklch(0.437 0.164 270.8) |
Copy-ready code
/* CSS */
color: #3344aa;
background-color: #3344aa;
/* Tailwind (arbitrary) */
class="text-[#3344aa] bg-[#3344aa]"
/* SCSS */
$brand: #3344aa;
/* SwiftUI */
Color(red: 0.200, green: 0.267, blue: 0.667)
/* Android */
Color.parseColor("#3344aa")Accessibility — WCAG contrast
Aa
#3344aa on white: 8.24:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#3344aa on black: 2.55:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red20.0%
Green26.7%
Blue66.7%
CMYK percentages
Cyan70.0%
Magenta60.0%
Yellow0.0%
Key (black)33.3%
Color previews
#3344aa text on a black background
contrast 2.55:1
Card sample
#3344aa text on a white background
contrast 8.24:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #3344aa;
Background color
Panel with #3344aa background
background-color: #3344aa;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #3344aa;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(51, 68, 170, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(51, 68, 170, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3344aa; background: linear-gradient(135deg, #3344aa, #7133AA);