Skip to content

#1d3f6d

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

RGB
29, 63, 109
HSL
215°, 58%, 27%
CMYK
73, 42, 0, 57
Luminance
0.0492

Every format

HEX#1d3f6d
RGBrgb(29, 63, 109)
HSLhsl(215, 58%, 27%)
CMYKcmyk(73%, 42%, 0%, 57%)
LABlab(26.5 4.7 -30.4)
LCHlch(26.5 30.7 278.8)
OKLCHoklch(0.368 0.089 256.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1d3f6d on white: 10.58:1
AA ✓ pass · AA-large · AAA
Aa
#1d3f6d on black: 1.98:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red11.4%
Green24.7%
Blue42.7%

CMYK percentages

Cyan73.4%
Magenta42.2%
Yellow0.0%
Key (black)57.3%

Color previews

#1d3f6d text on a black background

contrast 1.98:1

Card sample

#1d3f6d text on a white background

contrast 10.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(29, 63, 109, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(29, 63, 109, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1d3f6d;
background: linear-gradient(135deg, #1d3f6d, #301D6D);

Monochromatic scale

Palettes built from #1d3f6d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1d3f6d in the Color Lab