#0800af
a dark, electric blue · warm · closest name: navy
RGB
8, 0, 175
HSL
243°, 100%, 34%
CMYK
95, 100, 0, 31
Luminance
0.0315
Every format
| HEX | #0800af |
| RGB | rgb(8, 0, 175) |
| HSL | hsl(243, 100%, 34%) |
| CMYK | cmyk(95%, 100%, 0%, 31%) |
| LAB | lab(20.6 59.8 -81.0) |
| LCH | lch(20.6 100.7 306.4) |
| OKLCH | oklch(0.343 0.235 265.3) |
Copy-ready code
/* CSS */
color: #0800af;
background-color: #0800af;
/* Tailwind (arbitrary) */
class="text-[#0800af] bg-[#0800af]"
/* SCSS */
$brand: #0800af;
/* SwiftUI */
Color(red: 0.031, green: 0.000, blue: 0.686)
/* Android */
Color.parseColor("#0800af")Accessibility — WCAG contrast
Aa
#0800af on white: 12.89:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0800af on black: 1.63:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green0.0%
Blue68.6%
CMYK percentages
Cyan95.4%
Magenta100.0%
Yellow0.0%
Key (black)31.4%
Color previews
#0800af text on a black background
contrast 1.63:1
Card sample
#0800af text on a white background
contrast 12.89:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0800af;
Background color
Panel with #0800af background
background-color: #0800af;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0800af;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 0, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 0, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0800af; background: linear-gradient(135deg, #0800af, #7C00AF);