Skip to content

#003fcc

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

RGB
0, 63, 204
HSL
222°, 100%, 40%
CMYK
100, 69, 0, 20
Luminance
0.0791

Every format

HEX#003fcc
RGBrgb(0, 63, 204)
HSLhsl(222, 100%, 40%)
CMYKcmyk(100%, 69%, 0%, 20%)
LABlab(33.8 40.8 -76.2)
LCHlch(33.8 86.5 298.1)
OKLCHoklch(0.445 0.223 262.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#003fcc on white: 8.13:1
AA ✓ pass · AA-large · AAA
Aa
#003fcc on black: 2.58:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green24.7%
Blue80.0%

CMYK percentages

Cyan100.0%
Magenta69.1%
Yellow0.0%
Key (black)20.0%

Color previews

#003fcc text on a black background

contrast 2.58:1

Card sample

#003fcc text on a white background

contrast 8.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #003fcc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #003fcc in the Color Lab