#0f64df
a balanced, electric blue · cool · closest name: royalblue
RGB
15, 100, 223
HSL
216°, 87%, 47%
CMYK
93, 55, 0, 13
Luminance
0.1454
Every format
| HEX | #0f64df |
| RGB | rgb(15, 100, 223) |
| HSL | hsl(216, 87%, 47%) |
| CMYK | cmyk(93%, 55%, 0%, 13%) |
| LAB | lab(45.0 24.6 -68.8) |
| LCH | lch(45.0 73.0 289.7) |
| OKLCH | oklch(0.534 0.202 259.5) |
Copy-ready code
/* CSS */
color: #0f64df;
background-color: #0f64df;
/* Tailwind (arbitrary) */
class="text-[#0f64df] bg-[#0f64df]"
/* SCSS */
$brand: #0f64df;
/* SwiftUI */
Color(red: 0.059, green: 0.392, blue: 0.875)
/* Android */
Color.parseColor("#0f64df")Accessibility — WCAG contrast
Aa
#0f64df on white: 5.37:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#0f64df on black: 3.91:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green39.2%
Blue87.5%
CMYK percentages
Cyan93.3%
Magenta55.2%
Yellow0.0%
Key (black)12.5%
Color previews
#0f64df text on a black background
contrast 3.91:1
Card sample
#0f64df text on a white background
contrast 5.37:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0f64df;
Background color
Panel with #0f64df background
background-color: #0f64df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0f64df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 100, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 100, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f64df; background: linear-gradient(135deg, #0f64df, #450FDF);