Skip to content

#044ba4

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

RGB
4, 75, 164
HSL
213°, 95%, 33%
CMYK
98, 54, 0, 36
Luminance
0.0774

Every format

HEX#044ba4
RGBrgb(4, 75, 164)
HSLhsl(213, 95%, 33%)
CMYKcmyk(98%, 54%, 0%, 36%)
LABlab(33.4 17.1 -53.2)
LCHlch(33.4 55.9 287.8)
OKLCHoklch(0.432 0.157 258.1)

Copy-ready code

/* CSS */
color: #044ba4;
background-color: #044ba4;
/* Tailwind (arbitrary) */
class="text-[#044ba4] bg-[#044ba4]"
/* SCSS */
$brand: #044ba4;
/* SwiftUI */
Color(red: 0.016, green: 0.294, blue: 0.643)
/* Android */
Color.parseColor("#044ba4")

Accessibility — WCAG contrast

Aa
#044ba4 on white: 8.24:1
AA ✓ pass · AA-large · AAA
Aa
#044ba4 on black: 2.55:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red1.6%
Green29.4%
Blue64.3%

CMYK percentages

Cyan97.6%
Magenta54.3%
Yellow0.0%
Key (black)35.7%

Color previews

#044ba4 text on a black background

contrast 2.55:1

Card sample

#044ba4 text on a white background

contrast 8.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #044ba4;
Background color
Panel with #044ba4 background
background-color: #044ba4;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #044ba4;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(4, 75, 164, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(4, 75, 164, 0.45);
Border & gradient
Gradient panel
border: 3px solid #044ba4;
background: linear-gradient(135deg, #044ba4, #2804A4);

Monochromatic scale

Palettes built from #044ba4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #044ba4 in the Color Lab