#082f65
a deep, electric blue · cool · closest name: midnightblue
RGB
8, 47, 101
HSL
215°, 85%, 21%
CMYK
92, 54, 0, 60
Luminance
0.0302
Every format
| HEX | #082f65 |
| RGB | rgb(8, 47, 101) |
| HSL | hsl(215, 85%, 21%) |
| CMYK | cmyk(92%, 54%, 0%, 60%) |
| LAB | lab(20.1 10.0 -35.4) |
| LCH | lch(20.1 36.8 285.8) |
| OKLCH | oklch(0.315 0.104 258.2) |
Copy-ready code
/* CSS */
color: #082f65;
background-color: #082f65;
/* Tailwind (arbitrary) */
class="text-[#082f65] bg-[#082f65]"
/* SCSS */
$brand: #082f65;
/* SwiftUI */
Color(red: 0.031, green: 0.184, blue: 0.396)
/* Android */
Color.parseColor("#082f65")Accessibility — WCAG contrast
Aa
#082f65 on white: 13.09:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#082f65 on black: 1.60:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green18.4%
Blue39.6%
CMYK percentages
Cyan92.1%
Magenta53.5%
Yellow0.0%
Key (black)60.4%
Color previews
#082f65 text on a black background
contrast 1.60:1
Card sample
#082f65 text on a white background
contrast 13.09:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #082f65;
Background color
Panel with #082f65 background
background-color: #082f65;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #082f65;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 47, 101, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 47, 101, 0.45);
Border & gradient
Gradient panel
border: 3px solid #082f65; background: linear-gradient(135deg, #082f65, #1F0865);