#0f05ff
a balanced, electric blue · warm · “blue”
RGB
15, 5, 255
HSL
242°, 100%, 51%
CMYK
94, 98, 0, 0
Luminance
0.0743
Every format
| HEX | #0f05ff |
| RGB | rgb(15, 5, 255) |
| HSL | hsl(242, 100%, 51%) |
| CMYK | cmyk(94%, 98%, 0%, 0%) |
| LAB | lab(32.8 78.5 -107.1) |
| LCH | lch(32.8 132.8 306.2) |
| OKLCH | oklch(0.456 0.310 265.1) |
Copy-ready code
/* CSS */
color: #0f05ff;
background-color: #0f05ff;
/* Tailwind (arbitrary) */
class="text-[#0f05ff] bg-[#0f05ff]"
/* SCSS */
$brand: #0f05ff;
/* SwiftUI */
Color(red: 0.059, green: 0.020, blue: 1.000)
/* Android */
Color.parseColor("#0f05ff")Accessibility — WCAG contrast
Aa
#0f05ff on white: 8.45:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0f05ff on black: 2.49:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green2.0%
Blue100.0%
CMYK percentages
Cyan94.1%
Magenta98.0%
Yellow0.0%
Key (black)0.0%
Color previews
#0f05ff text on a black background
contrast 2.49:1
Card sample
#0f05ff text on a white background
contrast 8.45:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0f05ff;
Background color
Panel with #0f05ff background
background-color: #0f05ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0f05ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 5, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 5, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f05ff; background: linear-gradient(135deg, #0f05ff, #B605FF);