#0f6ace
a dark, electric blue · cool · closest name: royalblue
RGB
15, 106, 206
HSL
211°, 86%, 43%
CMYK
93, 49, 0, 19
Luminance
0.1487
Every format
| HEX | #0f6ace |
| RGB | rgb(15, 106, 206) |
| HSL | hsl(211, 86%, 43%) |
| CMYK | cmyk(93%, 49%, 0%, 19%) |
| LAB | lab(45.5 14.0 -58.4) |
| LCH | lch(45.5 60.0 283.5) |
| OKLCH | oklch(0.534 0.173 255.9) |
Copy-ready code
/* CSS */
color: #0f6ace;
background-color: #0f6ace;
/* Tailwind (arbitrary) */
class="text-[#0f6ace] bg-[#0f6ace]"
/* SCSS */
$brand: #0f6ace;
/* SwiftUI */
Color(red: 0.059, green: 0.416, blue: 0.808)
/* Android */
Color.parseColor("#0f6ace")Accessibility — WCAG contrast
Aa
#0f6ace on white: 5.29:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#0f6ace on black: 3.97:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green41.6%
Blue80.8%
CMYK percentages
Cyan92.7%
Magenta48.5%
Yellow0.0%
Key (black)19.2%
Color previews
#0f6ace text on a black background
contrast 3.97:1
Card sample
#0f6ace text on a white background
contrast 5.29:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0f6ace;
Background color
Panel with #0f6ace background
background-color: #0f6ace;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0f6ace;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 106, 206, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 106, 206, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f6ace; background: linear-gradient(135deg, #0f6ace, #330FCE);