#181dfb
a balanced, electric blue · warm · closest name: blue
RGB
24, 29, 251
HSL
239°, 97%, 54%
CMYK
90, 88, 0, 2
Luminance
0.0804
Every format
| HEX | #181dfb |
| RGB | rgb(24, 29, 251) |
| HSL | hsl(239, 97%, 54%) |
| CMYK | cmyk(90%, 88%, 0%, 2%) |
| LAB | lab(34.1 72.5 -102.7) |
| LCH | lch(34.1 125.7 305.2) |
| OKLCH | oklch(0.464 0.298 266.1) |
Copy-ready code
/* CSS */
color: #181dfb;
background-color: #181dfb;
/* Tailwind (arbitrary) */
class="text-[#181dfb] bg-[#181dfb]"
/* SCSS */
$brand: #181dfb;
/* SwiftUI */
Color(red: 0.094, green: 0.114, blue: 0.984)
/* Android */
Color.parseColor("#181dfb")Accessibility — WCAG contrast
Aa
#181dfb on white: 8.05:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#181dfb on black: 2.61:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.4%
Green11.4%
Blue98.4%
CMYK percentages
Cyan90.4%
Magenta88.4%
Yellow0.0%
Key (black)1.6%
Color previews
#181dfb text on a black background
contrast 2.61:1
Card sample
#181dfb text on a white background
contrast 8.05:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #181dfb;
Background color
Panel with #181dfb background
background-color: #181dfb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #181dfb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(24, 29, 251, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(24, 29, 251, 0.45);
Border & gradient
Gradient panel
border: 3px solid #181dfb; background: linear-gradient(135deg, #181dfb, #AA18FB);