#062f45
a deep, electric blue · cool · closest name: darkslategray
RGB
6, 47, 69
HSL
201°, 84%, 15%
CMYK
91, 32, 0, 73
Luminance
0.0250
Every format
| HEX | #062f45 |
| RGB | rgb(6, 47, 69) |
| HSL | hsl(201, 84%, 15%) |
| CMYK | cmyk(91%, 32%, 0%, 73%) |
| LAB | lab(17.9 -4.5 -17.6) |
| LCH | lch(17.9 18.2 255.7) |
| OKLCH | oklch(0.290 0.059 237.9) |
Copy-ready code
/* CSS */
color: #062f45;
background-color: #062f45;
/* Tailwind (arbitrary) */
class="text-[#062f45] bg-[#062f45]"
/* SCSS */
$brand: #062f45;
/* SwiftUI */
Color(red: 0.024, green: 0.184, blue: 0.271)
/* Android */
Color.parseColor("#062f45")Accessibility — WCAG contrast
Aa
#062f45 on white: 14.00:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#062f45 on black: 1.50:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red2.4%
Green18.4%
Blue27.1%
CMYK percentages
Cyan91.3%
Magenta31.9%
Yellow0.0%
Key (black)72.9%
Color previews
#062f45 text on a black background
contrast 1.50:1
Card sample
#062f45 text on a white background
contrast 14.00:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #062f45;
Background color
Panel with #062f45 background
background-color: #062f45;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #062f45;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(6, 47, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(6, 47, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #062f45; background: linear-gradient(135deg, #062f45, #070645);