Skip to content

#1d49af

a dark, vivid blue · cool · closest name: royalblue

RGB
29, 73, 175
HSL
222°, 72%, 40%
CMYK
83, 58, 0, 31
Luminance
0.0812

Every format

HEX#1d49af
RGBrgb(29, 73, 175)
HSLhsl(222, 72%, 40%)
CMYKcmyk(83%, 58%, 0%, 31%)
LABlab(34.2 24.3 -58.5)
LCHlch(34.2 63.3 292.6)
OKLCHoklch(0.442 0.170 263.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1d49af on white: 8.00:1
AA ✓ pass · AA-large · AAA
Aa
#1d49af on black: 2.62:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red11.4%
Green28.6%
Blue68.6%

CMYK percentages

Cyan83.4%
Magenta58.3%
Yellow0.0%
Key (black)31.4%

Color previews

#1d49af text on a black background

contrast 2.62:1

Card sample

#1d49af text on a white background

contrast 8.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(29, 73, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(29, 73, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1d49af;
background: linear-gradient(135deg, #1d49af, #521DAF);

Monochromatic scale

Palettes built from #1d49af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1d49af in the Color Lab