Skip to content

#002fdf

a dark, electric blue · warm · closest name: blue

RGB
0, 47, 223
HSL
227°, 100%, 44%
CMYK
100, 79, 0, 13
Luminance
0.0736

Every format

HEX#002fdf
RGBrgb(0, 47, 223)
HSLhsl(227, 100%, 44%)
CMYKcmyk(100%, 79%, 0%, 13%)
LABlab(32.6 56.6 -89.2)
LCHlch(32.6 105.6 302.4)
OKLCHoklch(0.443 0.260 264.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#002fdf on white: 8.49:1
AA ✓ pass · AA-large · AAA
Aa
#002fdf on black: 2.47:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green18.4%
Blue87.5%

CMYK percentages

Cyan100.0%
Magenta78.9%
Yellow0.0%
Key (black)12.5%

Color previews

#002fdf text on a black background

contrast 2.47:1

Card sample

#002fdf text on a white background

contrast 8.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #002fdf;
Background color
Panel with #002fdf background
background-color: #002fdf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #002fdf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(0, 47, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 47, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #002fdf;
background: linear-gradient(135deg, #002fdf, #6600DF);

Monochromatic scale

Palettes built from #002fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #002fdf in the Color Lab