Skip to content

#1d2abe

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

RGB
29, 42, 190
HSL
235°, 74%, 43%
CMYK
85, 78, 0, 26
Luminance
0.0563

Every format

HEX#1d2abe
RGBrgb(29, 42, 190)
HSLhsl(235, 74%, 43%)
CMYKcmyk(85%, 78%, 0%, 26%)
LABlab(28.5 49.2 -76.8)
LCHlch(28.5 91.2 302.6)
OKLCHoklch(0.404 0.223 268.0)

Copy-ready code

/* CSS */
color: #1d2abe;
background-color: #1d2abe;
/* Tailwind (arbitrary) */
class="text-[#1d2abe] bg-[#1d2abe]"
/* SCSS */
$brand: #1d2abe;
/* SwiftUI */
Color(red: 0.114, green: 0.165, blue: 0.745)
/* Android */
Color.parseColor("#1d2abe")

Accessibility — WCAG contrast

Aa
#1d2abe on white: 9.87:1
AA ✓ pass · AA-large · AAA
Aa
#1d2abe on black: 2.13:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red11.4%
Green16.5%
Blue74.5%

CMYK percentages

Cyan84.7%
Magenta77.9%
Yellow0.0%
Key (black)25.5%

Color previews

#1d2abe text on a black background

contrast 2.13:1

Card sample

#1d2abe text on a white background

contrast 9.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #1d2abe;
Background color
Panel with #1d2abe background
background-color: #1d2abe;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #1d2abe;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(29, 42, 190, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(29, 42, 190, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1d2abe;
background: linear-gradient(135deg, #1d2abe, #7B1DBE);

Monochromatic scale

Palettes built from #1d2abe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1d2abe in the Color Lab