#1702df
a dark, electric blue · warm · closest name: blue
RGB
23, 2, 223
HSL
246°, 98%, 44%
CMYK
90, 99, 0, 13
Luminance
0.0555
Every format
| HEX | #1702df |
| RGB | rgb(23, 2, 223) |
| HSL | hsl(246, 98%, 44%) |
| CMYK | cmyk(90%, 99%, 0%, 13%) |
| LAB | lab(28.3 71.3 -96.4) |
| LCH | lch(28.3 120.0 306.5) |
| OKLCH | oklch(0.414 0.279 266.5) |
Copy-ready code
/* CSS */
color: #1702df;
background-color: #1702df;
/* Tailwind (arbitrary) */
class="text-[#1702df] bg-[#1702df]"
/* SCSS */
$brand: #1702df;
/* SwiftUI */
Color(red: 0.090, green: 0.008, blue: 0.875)
/* Android */
Color.parseColor("#1702df")Accessibility — WCAG contrast
Aa
#1702df on white: 9.95:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#1702df on black: 2.11:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.0%
Green0.8%
Blue87.5%
CMYK percentages
Cyan89.7%
Magenta99.1%
Yellow0.0%
Key (black)12.5%
Color previews
#1702df text on a black background
contrast 2.11:1
Card sample
#1702df text on a white background
contrast 9.95:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1702df;
Background color
Panel with #1702df background
background-color: #1702df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1702df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(23, 2, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 2, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1702df; background: linear-gradient(135deg, #1702df, #AA02DF);