#1f7ace
a balanced, vivid blue · cool · closest name: dodgerblue
RGB
31, 122, 206
HSL
209°, 74%, 47%
CMYK
85, 41, 0, 19
Luminance
0.1867
Every format
| HEX | #1f7ace |
| RGB | rgb(31, 122, 206) |
| HSL | hsl(209, 74%, 47%) |
| CMYK | cmyk(85%, 41%, 0%, 19%) |
| LAB | lab(50.3 4.9 -50.6) |
| LCH | lch(50.3 50.8 275.5) |
| OKLCH | oklch(0.572 0.153 251.4) |
Copy-ready code
/* CSS */
color: #1f7ace;
background-color: #1f7ace;
/* Tailwind (arbitrary) */
class="text-[#1f7ace] bg-[#1f7ace]"
/* SCSS */
$brand: #1f7ace;
/* SwiftUI */
Color(red: 0.122, green: 0.478, blue: 0.808)
/* Android */
Color.parseColor("#1f7ace")Accessibility — WCAG contrast
Aa
#1f7ace on white: 4.44:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#1f7ace on black: 4.73:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red12.2%
Green47.8%
Blue80.8%
CMYK percentages
Cyan85.0%
Magenta40.8%
Yellow0.0%
Key (black)19.2%
Color previews
#1f7ace text on a black background
contrast 4.73:1
Card sample
#1f7ace text on a white background
contrast 4.44:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1f7ace;
Background color
Panel with #1f7ace background
background-color: #1f7ace;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1f7ace;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(31, 122, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(31, 122, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1f7ace; background: linear-gradient(135deg, #1f7ace, #391FCE);