#180fdf
a balanced, electric blue · warm · closest name: blue
RGB
24, 15, 223
HSL
243°, 87%, 47%
CMYK
89, 93, 0, 13
Luminance
0.0586
Every format
| HEX | #180fdf |
| RGB | rgb(24, 15, 223) |
| HSL | hsl(243, 87%, 47%) |
| CMYK | cmyk(89%, 93%, 0%, 13%) |
| LAB | lab(29.1 69.0 -95.1) |
| LCH | lch(29.1 117.5 305.9) |
| OKLCH | oklch(0.419 0.275 266.7) |
Copy-ready code
/* CSS */
color: #180fdf;
background-color: #180fdf;
/* Tailwind (arbitrary) */
class="text-[#180fdf] bg-[#180fdf]"
/* SCSS */
$brand: #180fdf;
/* SwiftUI */
Color(red: 0.094, green: 0.059, blue: 0.875)
/* Android */
Color.parseColor("#180fdf")Accessibility — WCAG contrast
Aa
#180fdf on white: 9.67:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#180fdf on black: 2.17:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.4%
Green5.9%
Blue87.5%
CMYK percentages
Cyan89.2%
Magenta93.3%
Yellow0.0%
Key (black)12.5%
Color previews
#180fdf text on a black background
contrast 2.17:1
Card sample
#180fdf text on a white background
contrast 9.67:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #180fdf;
Background color
Panel with #180fdf background
background-color: #180fdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #180fdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(24, 15, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(24, 15, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #180fdf; background: linear-gradient(135deg, #180fdf, #A30FDF);