#082f48
a deep, electric blue · cool · closest name: darkslategray
RGB
8, 47, 72
HSL
203°, 80%, 16%
CMYK
89, 35, 0, 72
Luminance
0.0255
Every format
| HEX | #082f48 |
| RGB | rgb(8, 47, 72) |
| HSL | hsl(203, 80%, 16%) |
| CMYK | cmyk(89%, 35%, 0%, 72%) |
| LAB | lab(18.1 -2.9 -19.3) |
| LCH | lch(18.1 19.5 261.5) |
| OKLCH | oklch(0.293 0.062 242.1) |
Copy-ready code
/* CSS */
color: #082f48;
background-color: #082f48;
/* Tailwind (arbitrary) */
class="text-[#082f48] bg-[#082f48]"
/* SCSS */
$brand: #082f48;
/* SwiftUI */
Color(red: 0.031, green: 0.184, blue: 0.282)
/* Android */
Color.parseColor("#082f48")Accessibility — WCAG contrast
Aa
#082f48 on white: 13.90:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#082f48 on black: 1.51:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green18.4%
Blue28.2%
CMYK percentages
Cyan88.9%
Magenta34.7%
Yellow0.0%
Key (black)71.8%
Color previews
#082f48 text on a black background
contrast 1.51:1
Card sample
#082f48 text on a white background
contrast 13.90:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #082f48;
Background color
Panel with #082f48 background
background-color: #082f48;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #082f48;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 47, 72, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 47, 72, 0.45);
Border & gradient
Gradient panel
border: 3px solid #082f48; background: linear-gradient(135deg, #082f48, #0C0848);