#140fdf
a balanced, electric blue · warm · closest name: blue
RGB
20, 15, 223
HSL
241°, 87%, 47%
CMYK
91, 93, 0, 13
Luminance
0.0582
Every format
| HEX | #140fdf |
| RGB | rgb(20, 15, 223) |
| HSL | hsl(241, 87%, 47%) |
| CMYK | cmyk(91%, 93%, 0%, 13%) |
| LAB | lab(28.9 68.9 -95.3) |
| LCH | lch(28.9 117.6 305.9) |
| OKLCH | oklch(0.418 0.276 266.1) |
Copy-ready code
/* CSS */
color: #140fdf;
background-color: #140fdf;
/* Tailwind (arbitrary) */
class="text-[#140fdf] bg-[#140fdf]"
/* SCSS */
$brand: #140fdf;
/* SwiftUI */
Color(red: 0.078, green: 0.059, blue: 0.875)
/* Android */
Color.parseColor("#140fdf")Accessibility — WCAG contrast
Aa
#140fdf on white: 9.71:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#140fdf on black: 2.16:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red7.8%
Green5.9%
Blue87.5%
CMYK percentages
Cyan91.0%
Magenta93.3%
Yellow0.0%
Key (black)12.5%
Color previews
#140fdf text on a black background
contrast 2.16:1
Card sample
#140fdf text on a white background
contrast 9.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #140fdf;
Background color
Panel with #140fdf background
background-color: #140fdf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #140fdf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(20, 15, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(20, 15, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #140fdf; background: linear-gradient(135deg, #140fdf, #9F0FDF);