#0959b3
a dark, electric blue · cool · closest name: royalblue
RGB
9, 89, 179
HSL
212°, 90%, 37%
CMYK
95, 50, 0, 30
Luminance
0.1046
Every format
| HEX | #0959b3 |
| RGB | rgb(9, 89, 179) |
| HSL | hsl(212, 90%, 37%) |
| CMYK | cmyk(95%, 50%, 0%, 30%) |
| LAB | lab(38.6 14.0 -53.7) |
| LCH | lch(38.6 55.5 284.6) |
| OKLCH | oklch(0.475 0.159 256.4) |
Copy-ready code
/* CSS */
color: #0959b3;
background-color: #0959b3;
/* Tailwind (arbitrary) */
class="text-[#0959b3] bg-[#0959b3]"
/* SCSS */
$brand: #0959b3;
/* SwiftUI */
Color(red: 0.035, green: 0.349, blue: 0.702)
/* Android */
Color.parseColor("#0959b3")Accessibility — WCAG contrast
Aa
#0959b3 on white: 6.79:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#0959b3 on black: 3.09:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.5%
Green34.9%
Blue70.2%
CMYK percentages
Cyan95.0%
Magenta50.3%
Yellow0.0%
Key (black)29.8%
Color previews
#0959b3 text on a black background
contrast 3.09:1
Card sample
#0959b3 text on a white background
contrast 6.79:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0959b3;
Background color
Panel with #0959b3 background
background-color: #0959b3;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0959b3;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(9, 89, 179, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(9, 89, 179, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0959b3; background: linear-gradient(135deg, #0959b3, #2A09B3);