#1facff
a balanced, electric blue · cool · closest name: dodgerblue
RGB
31, 172, 255
HSL
202°, 100%, 56%
CMYK
88, 33, 0, 0
Luminance
0.3702
Every format
| HEX | #1facff |
| RGB | rgb(31, 172, 255) |
| HSL | hsl(202, 100%, 56%) |
| CMYK | cmyk(88%, 33%, 0%, 0%) |
| LAB | lab(67.3 -6.3 -50.8) |
| LCH | lch(67.3 51.2 262.9) |
| OKLCH | oklch(0.714 0.163 242.4) |
Copy-ready code
/* CSS */
color: #1facff;
background-color: #1facff;
/* Tailwind (arbitrary) */
class="text-[#1facff] bg-[#1facff]"
/* SCSS */
$brand: #1facff;
/* SwiftUI */
Color(red: 0.122, green: 0.675, blue: 1.000)
/* Android */
Color.parseColor("#1facff")Accessibility — WCAG contrast
Aa
#1facff on white: 2.50:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#1facff on black: 8.40:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red12.2%
Green67.5%
Blue100.0%
CMYK percentages
Cyan87.8%
Magenta32.5%
Yellow0.0%
Key (black)0.0%
Color previews
#1facff text on a black background
contrast 8.40:1
Card sample
#1facff text on a white background
contrast 2.50:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1facff;
Background color
Panel with #1facff background
background-color: #1facff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1facff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(31, 172, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(31, 172, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1facff; background: linear-gradient(135deg, #1facff, #271FFF);