#080068
a deep, electric blue · warm · closest name: navy
RGB
8, 0, 104
HSL
245°, 100%, 20%
CMYK
92, 100, 0, 59
Luminance
0.0105
Every format
| HEX | #080068 |
| RGB | rgb(8, 0, 104) |
| HSL | hsl(245, 100%, 20%) |
| CMYK | cmyk(92%, 100%, 0%, 59%) |
| LAB | lab(9.4 41.1 -55.1) |
| LCH | lch(9.4 68.7 306.7) |
| OKLCH | oklch(0.238 0.159 267.7) |
Copy-ready code
/* CSS */
color: #080068;
background-color: #080068;
/* Tailwind (arbitrary) */
class="text-[#080068] bg-[#080068]"
/* SCSS */
$brand: #080068;
/* SwiftUI */
Color(red: 0.031, green: 0.000, blue: 0.408)
/* Android */
Color.parseColor("#080068")Accessibility — WCAG contrast
Aa
#080068 on white: 17.35:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#080068 on black: 1.21:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green0.0%
Blue40.8%
CMYK percentages
Cyan92.3%
Magenta100.0%
Yellow0.0%
Key (black)59.2%
Color previews
#080068 text on a black background
contrast 1.21:1
Card sample
#080068 text on a white background
contrast 17.35:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #080068;
Background color
Panel with #080068 background
background-color: #080068;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #080068;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 0, 104, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 0, 104, 0.45);
Border & gradient
Gradient panel
border: 3px solid #080068; background: linear-gradient(135deg, #080068, #4D0068);