#0f09cf
a dark, electric blue · warm · closest name: blue
RGB
15, 9, 207
HSL
242°, 92%, 42%
CMYK
93, 96, 0, 19
Luminance
0.0480
Every format
| HEX | #0f09cf |
| RGB | rgb(15, 9, 207) |
| HSL | hsl(242, 92%, 42%) |
| CMYK | cmyk(93%, 96%, 0%, 19%) |
| LAB | lab(26.2 66.0 -90.7) |
| LCH | lch(26.2 112.1 306.0) |
| OKLCH | oklch(0.393 0.263 265.7) |
Copy-ready code
/* CSS */
color: #0f09cf;
background-color: #0f09cf;
/* Tailwind (arbitrary) */
class="text-[#0f09cf] bg-[#0f09cf]"
/* SCSS */
$brand: #0f09cf;
/* SwiftUI */
Color(red: 0.059, green: 0.035, blue: 0.812)
/* Android */
Color.parseColor("#0f09cf")Accessibility — WCAG contrast
Aa
#0f09cf on white: 10.71:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0f09cf on black: 1.96:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green3.5%
Blue81.2%
CMYK percentages
Cyan92.8%
Magenta95.7%
Yellow0.0%
Key (black)18.8%
Color previews
#0f09cf text on a black background
contrast 1.96:1
Card sample
#0f09cf text on a white background
contrast 10.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0f09cf;
Background color
Panel with #0f09cf background
background-color: #0f09cf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0f09cf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 9, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 9, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f09cf; background: linear-gradient(135deg, #0f09cf, #9309CF);