#1277cc
a dark, electric blue · cool · closest name: dodgerblue
RGB
18, 119, 204
HSL
207°, 84%, 44%
CMYK
91, 42, 0, 20
Luminance
0.1768
Every format
| HEX | #1277cc |
| RGB | rgb(18, 119, 204) |
| HSL | hsl(207, 84%, 44%) |
| CMYK | cmyk(91%, 42%, 0%, 20%) |
| LAB | lab(49.1 5.1 -51.4) |
| LCH | lch(49.1 51.6 275.7) |
| OKLCH | oklch(0.562 0.156 250.9) |
Copy-ready code
/* CSS */
color: #1277cc;
background-color: #1277cc;
/* Tailwind (arbitrary) */
class="text-[#1277cc] bg-[#1277cc]"
/* SCSS */
$brand: #1277cc;
/* SwiftUI */
Color(red: 0.071, green: 0.467, blue: 0.800)
/* Android */
Color.parseColor("#1277cc")Accessibility — WCAG contrast
Aa
#1277cc on white: 4.63:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#1277cc on black: 4.54:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red7.1%
Green46.7%
Blue80.0%
CMYK percentages
Cyan91.2%
Magenta41.7%
Yellow0.0%
Key (black)20.0%
Color previews
#1277cc text on a black background
contrast 4.54:1
Card sample
#1277cc text on a white background
contrast 4.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1277cc;
Background color
Panel with #1277cc background
background-color: #1277cc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1277cc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(18, 119, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(18, 119, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1277cc; background: linear-gradient(135deg, #1277cc, #2912CC);