#0f3ace
a dark, electric blue · warm · closest name: navy
RGB
15, 58, 206
HSL
227°, 86%, 43%
CMYK
93, 72, 0, 19
Luminance
0.0758
Every format
| HEX | #0f3ace |
| RGB | rgb(15, 58, 206) |
| HSL | hsl(227, 86%, 43%) |
| CMYK | cmyk(93%, 72%, 0%, 19%) |
| LAB | lab(33.1 45.0 -78.6) |
| LCH | lch(33.1 90.5 299.8) |
| OKLCH | oklch(0.441 0.229 264.6) |
Copy-ready code
/* CSS */
color: #0f3ace;
background-color: #0f3ace;
/* Tailwind (arbitrary) */
class="text-[#0f3ace] bg-[#0f3ace]"
/* SCSS */
$brand: #0f3ace;
/* SwiftUI */
Color(red: 0.059, green: 0.227, blue: 0.808)
/* Android */
Color.parseColor("#0f3ace")Accessibility — WCAG contrast
Aa
#0f3ace on white: 8.34:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0f3ace on black: 2.52:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green22.7%
Blue80.8%
CMYK percentages
Cyan92.7%
Magenta71.8%
Yellow0.0%
Key (black)19.2%
Color previews
#0f3ace text on a black background
contrast 2.52:1
Card sample
#0f3ace text on a white background
contrast 8.34:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0f3ace;
Background color
Panel with #0f3ace background
background-color: #0f3ace;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0f3ace;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 58, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 58, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f3ace; background: linear-gradient(135deg, #0f3ace, #630FCE);