#1b0eb1
a dark, electric blue · warm · closest name: navy
RGB
27, 14, 177
HSL
245°, 85%, 38%
CMYK
85, 92, 0, 31
Luminance
0.0372
Every format
| HEX | #1b0eb1 |
| RGB | rgb(27, 14, 177) |
| HSL | hsl(245, 85%, 38%) |
| CMYK | cmyk(85%, 92%, 0%, 31%) |
| LAB | lab(22.7 57.0 -78.7) |
| LCH | lch(22.7 97.2 306.0) |
| OKLCH | oklch(0.360 0.227 269.0) |
Copy-ready code
/* CSS */
color: #1b0eb1;
background-color: #1b0eb1;
/* Tailwind (arbitrary) */
class="text-[#1b0eb1] bg-[#1b0eb1]"
/* SCSS */
$brand: #1b0eb1;
/* SwiftUI */
Color(red: 0.106, green: 0.055, blue: 0.694)
/* Android */
Color.parseColor("#1b0eb1")Accessibility — WCAG contrast
Aa
#1b0eb1 on white: 12.04:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#1b0eb1 on black: 1.74:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red10.6%
Green5.5%
Blue69.4%
CMYK percentages
Cyan84.7%
Magenta92.1%
Yellow0.0%
Key (black)30.6%
Color previews
#1b0eb1 text on a black background
contrast 1.74:1
Card sample
#1b0eb1 text on a white background
contrast 12.04:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1b0eb1;
Background color
Panel with #1b0eb1 background
background-color: #1b0eb1;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1b0eb1;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(27, 14, 177, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(27, 14, 177, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1b0eb1; background: linear-gradient(135deg, #1b0eb1, #880EB1);