#0b1fdf
a balanced, electric blue · warm · closest name: blue
RGB
11, 31, 223
HSL
234°, 91%, 46%
CMYK
95, 86, 0, 13
Luminance
0.0638
Every format
| HEX | #0b1fdf |
| RGB | rgb(11, 31, 223) |
| HSL | hsl(234, 91%, 46%) |
| CMYK | cmyk(95%, 86%, 0%, 13%) |
| LAB | lab(30.3 63.9 -93.0) |
| LCH | lch(30.3 112.8 304.5) |
| OKLCH | oklch(0.427 0.270 265.1) |
Copy-ready code
/* CSS */
color: #0b1fdf;
background-color: #0b1fdf;
/* Tailwind (arbitrary) */
class="text-[#0b1fdf] bg-[#0b1fdf]"
/* SCSS */
$brand: #0b1fdf;
/* SwiftUI */
Color(red: 0.043, green: 0.122, blue: 0.875)
/* Android */
Color.parseColor("#0b1fdf")Accessibility — WCAG contrast
Aa
#0b1fdf on white: 9.23:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0b1fdf on black: 2.28:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.3%
Green12.2%
Blue87.5%
CMYK percentages
Cyan95.1%
Magenta86.1%
Yellow0.0%
Key (black)12.5%
Color previews
#0b1fdf text on a black background
contrast 2.28:1
Card sample
#0b1fdf text on a white background
contrast 9.23:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0b1fdf;
Background color
Panel with #0b1fdf background
background-color: #0b1fdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0b1fdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(11, 31, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(11, 31, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0b1fdf; background: linear-gradient(135deg, #0b1fdf, #840BDF);