#080f27
a deep, vivid blue · warm · closest name: black
RGB
8, 15, 39
HSL
227°, 66%, 9%
CMYK
80, 62, 0, 85
Luminance
0.0054
Every format
| HEX | #080f27 |
| RGB | rgb(8, 15, 39) |
| HSL | hsl(227, 66%, 9%) |
| CMYK | cmyk(80%, 62%, 0%, 85%) |
| LAB | lab(4.9 5.1 -16.7) |
| LCH | lch(4.9 17.4 286.9) |
| OKLCH | oklch(0.178 0.050 268.5) |
Copy-ready code
/* CSS */
color: #080f27;
background-color: #080f27;
/* Tailwind (arbitrary) */
class="text-[#080f27] bg-[#080f27]"
/* SCSS */
$brand: #080f27;
/* SwiftUI */
Color(red: 0.031, green: 0.059, blue: 0.153)
/* Android */
Color.parseColor("#080f27")Accessibility — WCAG contrast
Aa
#080f27 on white: 18.95:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#080f27 on black: 1.11:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green5.9%
Blue15.3%
CMYK percentages
Cyan79.5%
Magenta61.5%
Yellow0.0%
Key (black)84.7%
Color previews
#080f27 text on a black background
contrast 1.11:1
Card sample
#080f27 text on a white background
contrast 18.95:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #080f27;
Background color
Panel with #080f27 background
background-color: #080f27;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #080f27;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 15, 39, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 15, 39, 0.45);
Border & gradient
Gradient panel
border: 3px solid #080f27; background: linear-gradient(135deg, #080f27, #160827);