#0f0fac
a dark, electric blue · warm · closest name: navy
RGB
15, 15, 172
HSL
240°, 84%, 37%
CMYK
91, 91, 0, 33
Luminance
0.0342
Every format
| HEX | #0f0fac |
| RGB | rgb(15, 15, 172) |
| HSL | hsl(240, 84%, 37%) |
| CMYK | cmyk(91%, 91%, 0%, 33%) |
| LAB | lab(21.7 55.1 -77.4) |
| LCH | lch(21.7 95.0 305.4) |
| OKLCH | oklch(0.349 0.224 266.5) |
Copy-ready code
/* CSS */
color: #0f0fac;
background-color: #0f0fac;
/* Tailwind (arbitrary) */
class="text-[#0f0fac] bg-[#0f0fac]"
/* SCSS */
$brand: #0f0fac;
/* SwiftUI */
Color(red: 0.059, green: 0.059, blue: 0.675)
/* Android */
Color.parseColor("#0f0fac")Accessibility — WCAG contrast
Aa
#0f0fac on white: 12.47:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0f0fac on black: 1.68:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green5.9%
Blue67.5%
CMYK percentages
Cyan91.3%
Magenta91.3%
Yellow0.0%
Key (black)32.5%
Color previews
#0f0fac text on a black background
contrast 1.68:1
Card sample
#0f0fac text on a white background
contrast 12.47:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0f0fac;
Background color
Panel with #0f0fac background
background-color: #0f0fac;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0f0fac;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 15, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 15, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f0fac; background: linear-gradient(135deg, #0f0fac, #780FAC);