Skip to content

#0039b4

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

RGB
0, 57, 180
HSL
221°, 100%, 35%
CMYK
100, 68, 0, 29
Luminance
0.0622

Every format

HEX#0039b4
RGBrgb(0, 57, 180)
HSLhsl(221, 100%, 35%)
CMYKcmyk(100%, 68%, 0%, 29%)
LABlab(30.0 35.5 -68.5)
LCHlch(30.0 77.1 297.4)
OKLCHoklch(0.410 0.200 262.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0039b4 on white: 9.36:1
AA ✓ pass · AA-large · AAA
Aa
#0039b4 on black: 2.24:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green22.4%
Blue70.6%

CMYK percentages

Cyan100.0%
Magenta68.3%
Yellow0.0%
Key (black)29.4%

Color previews

#0039b4 text on a black background

contrast 2.24:1

Card sample

#0039b4 text on a white background

contrast 9.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0039b4;
Background color
Panel with #0039b4 background
background-color: #0039b4;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0039b4;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(0, 57, 180, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 57, 180, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0039b4;
background: linear-gradient(135deg, #0039b4, #3F00B4);

Monochromatic scale

Palettes built from #0039b4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0039b4 in the Color Lab