#1280df
a balanced, electric blue · cool · closest name: dodgerblue
RGB
18, 128, 223
HSL
208°, 85%, 47%
CMYK
92, 43, 0, 13
Luminance
0.2089
Every format
| HEX | #1280df |
| RGB | rgb(18, 128, 223) |
| HSL | hsl(208, 85%, 47%) |
| CMYK | cmyk(92%, 43%, 0%, 13%) |
| LAB | lab(52.8 6.9 -56.1) |
| LCH | lch(52.8 56.6 277.0) |
| OKLCH | oklch(0.595 0.170 251.7) |
Copy-ready code
/* CSS */
color: #1280df;
background-color: #1280df;
/* Tailwind (arbitrary) */
class="text-[#1280df] bg-[#1280df]"
/* SCSS */
$brand: #1280df;
/* SwiftUI */
Color(red: 0.071, green: 0.502, blue: 0.875)
/* Android */
Color.parseColor("#1280df")Accessibility — WCAG contrast
Aa
#1280df on white: 4.05:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#1280df on black: 5.18:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red7.1%
Green50.2%
Blue87.5%
CMYK percentages
Cyan91.9%
Magenta42.6%
Yellow0.0%
Key (black)12.5%
Color previews
#1280df text on a black background
contrast 5.18:1
Card sample
#1280df text on a white background
contrast 4.05:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1280df;
Background color
Panel with #1280df background
background-color: #1280df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1280df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(18, 128, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(18, 128, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1280df; background: linear-gradient(135deg, #1280df, #2D12DF);