#104fab
a dark, electric blue · cool · closest name: royalblue
RGB
16, 79, 171
HSL
216°, 83%, 37%
CMYK
91, 54, 0, 33
Luminance
0.0864
Every format
| HEX | #104fab |
| RGB | rgb(16, 79, 171) |
| HSL | hsl(216, 83%, 37%) |
| CMYK | cmyk(91%, 54%, 0%, 33%) |
| LAB | lab(35.3 17.8 -54.4) |
| LCH | lch(35.3 57.2 288.1) |
| OKLCH | oklch(0.448 0.160 259.2) |
Copy-ready code
/* CSS */
color: #104fab;
background-color: #104fab;
/* Tailwind (arbitrary) */
class="text-[#104fab] bg-[#104fab]"
/* SCSS */
$brand: #104fab;
/* SwiftUI */
Color(red: 0.063, green: 0.310, blue: 0.671)
/* Android */
Color.parseColor("#104fab")Accessibility — WCAG contrast
Aa
#104fab on white: 7.70:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#104fab on black: 2.73:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red6.3%
Green31.0%
Blue67.1%
CMYK percentages
Cyan90.6%
Magenta53.8%
Yellow0.0%
Key (black)32.9%
Color previews
#104fab text on a black background
contrast 2.73:1
Card sample
#104fab text on a white background
contrast 7.70:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #104fab;
Background color
Panel with #104fab background
background-color: #104fab;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #104fab;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(16, 79, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(16, 79, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #104fab; background: linear-gradient(135deg, #104fab, #3810AB);