#072c49
a deep, electric blue · cool · closest name: darkslategray
RGB
7, 44, 73
HSL
206°, 83%, 16%
CMYK
90, 40, 0, 71
Luminance
0.0233
Every format
| HEX | #072c49 |
| RGB | rgb(7, 44, 73) |
| HSL | hsl(206, 83%, 16%) |
| CMYK | cmyk(90%, 40%, 0%, 71%) |
| LAB | lab(17.1 -0.5 -21.6) |
| LCH | lch(17.1 21.6 268.8) |
| OKLCH | oklch(0.285 0.067 247.1) |
Copy-ready code
/* CSS */
color: #072c49;
background-color: #072c49;
/* Tailwind (arbitrary) */
class="text-[#072c49] bg-[#072c49]"
/* SCSS */
$brand: #072c49;
/* SwiftUI */
Color(red: 0.027, green: 0.173, blue: 0.286)
/* Android */
Color.parseColor("#072c49")Accessibility — WCAG contrast
Aa
#072c49 on white: 14.33:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#072c49 on black: 1.47:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red2.7%
Green17.3%
Blue28.6%
CMYK percentages
Cyan90.4%
Magenta39.7%
Yellow0.0%
Key (black)71.4%
Color previews
#072c49 text on a black background
contrast 1.47:1
Card sample
#072c49 text on a white background
contrast 14.33:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #072c49;
Background color
Panel with #072c49 background
background-color: #072c49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #072c49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(7, 44, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(7, 44, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #072c49; background: linear-gradient(135deg, #072c49, #0E0749);