#181fdf
a balanced, electric blue · warm · closest name: blue
RGB
24, 31, 223
HSL
238°, 81%, 48%
CMYK
89, 86, 0, 13
Luminance
0.0650
Every format
| HEX | #181fdf |
| RGB | rgb(24, 31, 223) |
| HSL | hsl(238, 81%, 48%) |
| CMYK | cmyk(89%, 86%, 0%, 13%) |
| LAB | lab(30.6 64.2 -92.5) |
| LCH | lch(30.6 112.5 304.8) |
| OKLCH | oklch(0.430 0.268 266.6) |
Copy-ready code
/* CSS */
color: #181fdf;
background-color: #181fdf;
/* Tailwind (arbitrary) */
class="text-[#181fdf] bg-[#181fdf]"
/* SCSS */
$brand: #181fdf;
/* SwiftUI */
Color(red: 0.094, green: 0.122, blue: 0.875)
/* Android */
Color.parseColor("#181fdf")Accessibility — WCAG contrast
Aa
#181fdf on white: 9.13:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#181fdf on black: 2.30:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.4%
Green12.2%
Blue87.5%
CMYK percentages
Cyan89.2%
Magenta86.1%
Yellow0.0%
Key (black)12.5%
Color previews
#181fdf text on a black background
contrast 2.30:1
Card sample
#181fdf text on a white background
contrast 9.13:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #181fdf;
Background color
Panel with #181fdf background
background-color: #181fdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #181fdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(24, 31, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(24, 31, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #181fdf; background: linear-gradient(135deg, #181fdf, #9618DF);