#1265df
a balanced, electric blue · cool · closest name: royalblue
RGB
18, 101, 223
HSL
216°, 85%, 47%
CMYK
92, 55, 0, 13
Luminance
0.1476
Every format
| HEX | #1265df |
| RGB | rgb(18, 101, 223) |
| HSL | hsl(216, 85%, 47%) |
| CMYK | cmyk(92%, 55%, 0%, 13%) |
| LAB | lab(45.3 24.0 -68.3) |
| LCH | lch(45.3 72.4 289.4) |
| OKLCH | oklch(0.537 0.201 259.5) |
Copy-ready code
/* CSS */
color: #1265df;
background-color: #1265df;
/* Tailwind (arbitrary) */
class="text-[#1265df] bg-[#1265df]"
/* SCSS */
$brand: #1265df;
/* SwiftUI */
Color(red: 0.071, green: 0.396, blue: 0.875)
/* Android */
Color.parseColor("#1265df")Accessibility — WCAG contrast
Aa
#1265df on white: 5.31:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#1265df on black: 3.95:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red7.1%
Green39.6%
Blue87.5%
CMYK percentages
Cyan91.9%
Magenta54.7%
Yellow0.0%
Key (black)12.5%
Color previews
#1265df text on a black background
contrast 3.95:1
Card sample
#1265df text on a white background
contrast 5.31:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1265df;
Background color
Panel with #1265df background
background-color: #1265df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1265df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(18, 101, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(18, 101, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1265df; background: linear-gradient(135deg, #1265df, #4812DF);