Skip to content

#2003af

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

RGB
32, 3, 175
HSL
250°, 97%, 35%
CMYK
82, 98, 0, 31
Luminance
0.0347

Every format

HEX#2003af
RGBrgb(32, 3, 175)
HSLhsl(250, 97%, 35%)
CMYKcmyk(82%, 98%, 0%, 31%)
LABlab(21.8 59.4 -79.0)
LCHlch(21.8 98.8 306.9)
OKLCHoklch(0.353 0.228 270.7)

Copy-ready code

/* CSS */
color: #2003af;
background-color: #2003af;
/* Tailwind (arbitrary) */
class="text-[#2003af] bg-[#2003af]"
/* SCSS */
$brand: #2003af;
/* SwiftUI */
Color(red: 0.125, green: 0.012, blue: 0.686)
/* Android */
Color.parseColor("#2003af")

Accessibility — WCAG contrast

Aa
#2003af on white: 12.40:1
AA ✓ pass · AA-large · AAA
Aa
#2003af on black: 1.69:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.5%
Green1.2%
Blue68.6%

CMYK percentages

Cyan81.7%
Magenta98.3%
Yellow0.0%
Key (black)31.4%

Color previews

#2003af text on a black background

contrast 1.69:1

Card sample

#2003af text on a white background

contrast 12.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2003af;
Background color
Panel with #2003af background
background-color: #2003af;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #2003af;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(32, 3, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(32, 3, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2003af;
background: linear-gradient(135deg, #2003af, #9303AF);

Monochromatic scale

Palettes built from #2003af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2003af in the Color Lab