#1908b3
a dark, electric blue · warm · closest name: navy
RGB
25, 8, 179
HSL
246°, 91%, 37%
CMYK
86, 96, 0, 30
Luminance
0.0364
Every format
| HEX | #1908b3 |
| RGB | rgb(25, 8, 179) |
| HSL | hsl(246, 91%, 37%) |
| CMYK | cmyk(86%, 96%, 0%, 30%) |
| LAB | lab(22.4 59.0 -80.4) |
| LCH | lch(22.4 99.7 306.3) |
| OKLCH | oklch(0.358 0.232 268.4) |
Copy-ready code
/* CSS */
color: #1908b3;
background-color: #1908b3;
/* Tailwind (arbitrary) */
class="text-[#1908b3] bg-[#1908b3]"
/* SCSS */
$brand: #1908b3;
/* SwiftUI */
Color(red: 0.098, green: 0.031, blue: 0.702)
/* Android */
Color.parseColor("#1908b3")Accessibility — WCAG contrast
Aa
#1908b3 on white: 12.16:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#1908b3 on black: 1.73:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.8%
Green3.1%
Blue70.2%
CMYK percentages
Cyan86.0%
Magenta95.5%
Yellow0.0%
Key (black)29.8%
Color previews
#1908b3 text on a black background
contrast 1.73:1
Card sample
#1908b3 text on a white background
contrast 12.16:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1908b3;
Background color
Panel with #1908b3 background
background-color: #1908b3;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1908b3;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(25, 8, 179, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(25, 8, 179, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1908b3; background: linear-gradient(135deg, #1908b3, #8B08B3);