#1b0df4
a balanced, electric blue · warm · closest name: blue
RGB
27, 13, 244
HSL
244°, 91%, 50%
CMYK
89, 95, 0, 4
Luminance
0.0705
Every format
| HEX | #1b0df4 |
| RGB | rgb(27, 13, 244) |
| HSL | hsl(244, 91%, 50%) |
| CMYK | cmyk(89%, 95%, 0%, 4%) |
| LAB | lab(31.9 74.7 -102.3) |
| LCH | lch(31.9 126.7 306.1) |
| OKLCH | oklch(0.447 0.296 266.6) |
Copy-ready code
/* CSS */
color: #1b0df4;
background-color: #1b0df4;
/* Tailwind (arbitrary) */
class="text-[#1b0df4] bg-[#1b0df4]"
/* SCSS */
$brand: #1b0df4;
/* SwiftUI */
Color(red: 0.106, green: 0.051, blue: 0.957)
/* Android */
Color.parseColor("#1b0df4")Accessibility — WCAG contrast
Aa
#1b0df4 on white: 8.71:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#1b0df4 on black: 2.41:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red10.6%
Green5.1%
Blue95.7%
CMYK percentages
Cyan88.9%
Magenta94.7%
Yellow0.0%
Key (black)4.3%
Color previews
#1b0df4 text on a black background
contrast 2.41:1
Card sample
#1b0df4 text on a white background
contrast 8.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1b0df4;
Background color
Panel with #1b0df4 background
background-color: #1b0df4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1b0df4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(27, 13, 244, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(27, 13, 244, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1b0df4; background: linear-gradient(135deg, #1b0df4, #B50DF4);