#1279df
a balanced, electric blue · cool · closest name: dodgerblue
RGB
18, 121, 223
HSL
210°, 85%, 47%
CMYK
92, 46, 0, 13
Luminance
0.1913
Every format
| HEX | #1279df |
| RGB | rgb(18, 121, 223) |
| HSL | hsl(210, 85%, 47%) |
| CMYK | cmyk(92%, 46%, 0%, 13%) |
| LAB | lab(50.8 11.3 -59.3) |
| LCH | lch(50.8 60.4 280.8) |
| OKLCH | oklch(0.579 0.177 254.1) |
Copy-ready code
/* CSS */
color: #1279df;
background-color: #1279df;
/* Tailwind (arbitrary) */
class="text-[#1279df] bg-[#1279df]"
/* SCSS */
$brand: #1279df;
/* SwiftUI */
Color(red: 0.071, green: 0.475, blue: 0.875)
/* Android */
Color.parseColor("#1279df")Accessibility — WCAG contrast
Aa
#1279df on white: 4.35:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#1279df on black: 4.83:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red7.1%
Green47.5%
Blue87.5%
CMYK percentages
Cyan91.9%
Magenta45.7%
Yellow0.0%
Key (black)12.5%
Color previews
#1279df text on a black background
contrast 4.83:1
Card sample
#1279df text on a white background
contrast 4.35:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1279df;
Background color
Panel with #1279df background
background-color: #1279df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1279df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(18, 121, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(18, 121, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1279df; background: linear-gradient(135deg, #1279df, #3412DF);