#0059b3
a dark, electric blue · cool · closest name: royalblue
RGB
0, 89, 179
HSL
210°, 100%, 35%
CMYK
100, 50, 0, 30
Luminance
0.1040
Every format
| HEX | #0059b3 |
| RGB | rgb(0, 89, 179) |
| HSL | hsl(210, 100%, 35%) |
| CMYK | cmyk(100%, 50%, 0%, 30%) |
| LAB | lab(38.5 13.7 -53.9) |
| LCH | lch(38.5 55.5 284.2) |
| OKLCH | oklch(0.474 0.160 255.7) |
Copy-ready code
/* CSS */
color: #0059b3;
background-color: #0059b3;
/* Tailwind (arbitrary) */
class="text-[#0059b3] bg-[#0059b3]"
/* SCSS */
$brand: #0059b3;
/* SwiftUI */
Color(red: 0.000, green: 0.349, blue: 0.702)
/* Android */
Color.parseColor("#0059b3")Accessibility — WCAG contrast
Aa
#0059b3 on white: 6.82:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#0059b3 on black: 3.08:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red0.0%
Green34.9%
Blue70.2%
CMYK percentages
Cyan100.0%
Magenta50.3%
Yellow0.0%
Key (black)29.8%
Color previews
#0059b3 text on a black background
contrast 3.08:1
Card sample
#0059b3 text on a white background
contrast 6.82:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0059b3;
Background color
Panel with #0059b3 background
background-color: #0059b3;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0059b3;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(0, 89, 179, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 89, 179, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0059b3; background: linear-gradient(135deg, #0059b3, #1E00B3);