#0916cd
a dark, electric blue · warm · closest name: blue
RGB
9, 22, 205
HSL
236°, 92%, 42%
CMYK
96, 89, 0, 20
Luminance
0.0504
Every format
| HEX | #0916cd |
| RGB | rgb(9, 22, 205) |
| HSL | hsl(236, 92%, 42%) |
| CMYK | cmyk(96%, 89%, 0%, 20%) |
| LAB | lab(26.8 62.0 -88.4) |
| LCH | lch(26.8 108.0 305.1) |
| OKLCH | oklch(0.397 0.257 265.1) |
Copy-ready code
/* CSS */
color: #0916cd;
background-color: #0916cd;
/* Tailwind (arbitrary) */
class="text-[#0916cd] bg-[#0916cd]"
/* SCSS */
$brand: #0916cd;
/* SwiftUI */
Color(red: 0.035, green: 0.086, blue: 0.804)
/* Android */
Color.parseColor("#0916cd")Accessibility — WCAG contrast
Aa
#0916cd on white: 10.46:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0916cd on black: 2.01:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.5%
Green8.6%
Blue80.4%
CMYK percentages
Cyan95.6%
Magenta89.3%
Yellow0.0%
Key (black)19.6%
Color previews
#0916cd text on a black background
contrast 2.01:1
Card sample
#0916cd text on a white background
contrast 10.46:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0916cd;
Background color
Panel with #0916cd background
background-color: #0916cd;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0916cd;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(9, 22, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(9, 22, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0916cd; background: linear-gradient(135deg, #0916cd, #7F09CD);