#0f4ace
a dark, electric blue · cool · closest name: royalblue
RGB
15, 74, 206
HSL
222°, 86%, 43%
CMYK
93, 64, 0, 19
Luminance
0.0946
Every format
| HEX | #0f4ace |
| RGB | rgb(15, 74, 206) |
| HSL | hsl(222, 86%, 43%) |
| CMYK | cmyk(93%, 64%, 0%, 19%) |
| LAB | lab(36.8 34.9 -72.4) |
| LCH | lch(36.8 80.4 295.7) |
| OKLCH | oklch(0.469 0.211 262.9) |
Copy-ready code
/* CSS */
color: #0f4ace;
background-color: #0f4ace;
/* Tailwind (arbitrary) */
class="text-[#0f4ace] bg-[#0f4ace]"
/* SCSS */
$brand: #0f4ace;
/* SwiftUI */
Color(red: 0.059, green: 0.290, blue: 0.808)
/* Android */
Color.parseColor("#0f4ace")Accessibility — WCAG contrast
Aa
#0f4ace on white: 7.26:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0f4ace on black: 2.89:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green29.0%
Blue80.8%
CMYK percentages
Cyan92.7%
Magenta64.1%
Yellow0.0%
Key (black)19.2%
Color previews
#0f4ace text on a black background
contrast 2.89:1
Card sample
#0f4ace text on a white background
contrast 7.26:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0f4ace;
Background color
Panel with #0f4ace background
background-color: #0f4ace;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0f4ace;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 74, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 74, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f4ace; background: linear-gradient(135deg, #0f4ace, #530FCE);