#0f3fac
a dark, electric blue · cool · closest name: slateblue
RGB
15, 63, 172
HSL
222°, 84%, 37%
CMYK
91, 63, 0, 33
Luminance
0.0664
Every format
| HEX | #0f3fac |
| RGB | rgb(15, 63, 172) |
| HSL | hsl(222, 84%, 37%) |
| CMYK | cmyk(91%, 63%, 0%, 33%) |
| LAB | lab(31.0 29.0 -62.0) |
| LCH | lch(31.0 68.5 295.0) |
| OKLCH | oklch(0.416 0.181 263.0) |
Copy-ready code
/* CSS */
color: #0f3fac;
background-color: #0f3fac;
/* Tailwind (arbitrary) */
class="text-[#0f3fac] bg-[#0f3fac]"
/* SCSS */
$brand: #0f3fac;
/* SwiftUI */
Color(red: 0.059, green: 0.247, blue: 0.675)
/* Android */
Color.parseColor("#0f3fac")Accessibility — WCAG contrast
Aa
#0f3fac on white: 9.02:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0f3fac on black: 2.33:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green24.7%
Blue67.5%
CMYK percentages
Cyan91.3%
Magenta63.4%
Yellow0.0%
Key (black)32.5%
Color previews
#0f3fac text on a black background
contrast 2.33:1
Card sample
#0f3fac text on a white background
contrast 9.02:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0f3fac;
Background color
Panel with #0f3fac background
background-color: #0f3fac;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0f3fac;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 63, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 63, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f3fac; background: linear-gradient(135deg, #0f3fac, #480FAC);