Skip to content

#1d2abd

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

RGB
29, 42, 189
HSL
235°, 73%, 43%
CMYK
85, 78, 0, 26
Luminance
0.0559

Every format

HEX#1d2abd
RGBrgb(29, 42, 189)
HSLhsl(235, 73%, 43%)
CMYKcmyk(85%, 78%, 0%, 26%)
LABlab(28.4 48.9 -76.4)
LCHlch(28.4 90.7 302.6)
OKLCHoklch(0.403 0.222 268.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1d2abd on white: 9.91:1
AA ✓ pass · AA-large · AAA
Aa
#1d2abd on black: 2.12:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan84.7%
Magenta77.8%
Yellow0.0%
Key (black)25.9%

Color previews

#1d2abd text on a black background

contrast 2.12:1

Card sample

#1d2abd text on a white background

contrast 9.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1d2abd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1d2abd in the Color Lab