Skip to content

#003acc

a dark, electric blue · cool · closest name: navy

RGB
0, 58, 204
HSL
223°, 100%, 40%
CMYK
100, 72, 0, 20
Luminance
0.0739

Every format

HEX#003acc
RGBrgb(0, 58, 204)
HSLhsl(223, 100%, 40%)
CMYKcmyk(100%, 72%, 0%, 20%)
LABlab(32.7 43.9 -78.1)
LCHlch(32.7 89.6 299.3)
OKLCHoklch(0.437 0.228 263.3)

Copy-ready code

/* CSS */
color: #003acc;
background-color: #003acc;
/* Tailwind (arbitrary) */
class="text-[#003acc] bg-[#003acc]"
/* SCSS */
$brand: #003acc;
/* SwiftUI */
Color(red: 0.000, green: 0.227, blue: 0.800)
/* Android */
Color.parseColor("#003acc")

Accessibility — WCAG contrast

Aa
#003acc on white: 8.48:1
AA ✓ pass · AA-large · AAA
Aa
#003acc on black: 2.48:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green22.7%
Blue80.0%

CMYK percentages

Cyan100.0%
Magenta71.6%
Yellow0.0%
Key (black)20.0%

Color previews

#003acc text on a black background

contrast 2.48:1

Card sample

#003acc text on a white background

contrast 8.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #003acc;
Background color
Panel with #003acc background
background-color: #003acc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #003acc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(0, 58, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 58, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #003acc;
background: linear-gradient(135deg, #003acc, #4E00CC);

Monochromatic scale

Palettes built from #003acc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #003acc in the Color Lab