#1D4ED8 Color Details, Palettes & Contrast

All the conversions, harmonies, and accessibility checks you need to design with confidence.

RGB:rgb(29, 78, 216)
HSL:hsl(224, 76%, 48%)
HEX
#1D4ED8
RGB
29, 78, 216
HSL
224°, 76%, 48%
HSV
224°, 87%, 85%
CMYK
87%, 64%, 0%, 15%

Color Conversion

Generate values across multiple color models in one place.

#1D4ED8

Tints & shades

Explore how #1D4ED8 behaves when you mix it with white or black. These swatches are perfect for hover states, shadows, and backgrounds.

Hover to copy any hex value and reuse it across your interface.

Shades

0–100%
0%#1D4FD7
10%#1A47C2
20%#183FAC
30%#153797
40%#122F81
50%#0F276C
60%#0C2056
70%#091841
80%#06102B
90%#030816
100%#000000

Tints

0–100%
0%#1D4FD7
10%#2D5DE2
20%#446FE6
30%#5C81E9
40%#7393EC
50%#8AA5EF
60%#A2B7F2
70%#B9C9F5
80%#D0DBF9
90%#E8EDFC
100%#FFFFFF

Common use cases

  • UI component states (hover, active, disabled)
  • Creating depth with shadows and highlights
  • Building consistent color systems

Design system

Design system tip

These variations form the foundation of a cohesive palette. Export them to keep marketing, product, and engineering aligned.

Export palette

Color harmonies

Build balanced palettes instantly with harmonies generated from #1D4ED8.

Click any swatch to open its own detail page and keep exploring.

How to use

Pick one dominant color, then let supporting hues act as accents for typography, surfaces, and call-to-action buttons.

Why it matters

Balanced harmonies communicate intent—calm, energetic, premium—without overwhelming your layout.

Complementary

Opposite hues that create impact and bold contrast.

Suggested for

High-impact CTAs, logos, and hero sections

Analogous

Neighboring hues for natural, fluid gradients.

Suggested for

Nature-inspired, calming dashboards

Triadic

Three evenly spaced hues for playful balance.

Suggested for

Playful branding and editorial layouts

Tetradic

Two complementary pairs that deliver rich variety.

Suggested for

Illustrations and marketing experiments

Monochromatic

Lighter and darker siblings inside the same hue family.

Suggested for

Minimalist interfaces and premium UI states

Accessibility contrast

Check how readable #1D4ED8 is with common text colors so every visitor enjoys a clear experience.

Use AA as the baseline for body copy and AAA for premium accessibility.

Sample text on black text
Text color#000000
Background#1D4ED8
Contrast ratio3.13:1
WCAG levelFail
Sample text on white text
Text color#FFFFFF
Background#1D4ED8
Contrast ratio6.70:1
WCAG levelAA
Recommended text preview
Text color#FFFFFF
Background#1D4ED8
Contrast ratio6.70:1
WCAG levelAA

Technical Formats

Advanced color formats used in design systems.

HEX
#1D4ED8
RGB
rgb(29, 78, 216)
HSL
hsl(224.28, 76.33%, 48.04%)
HSV
hsv(224.28 86.57% 84.71%)
LAB
lab(37.66 27.02 -76.50)
LCH
lch(37.66 81.13 289.45)
OKLAB
oklab(0.49 -0.0213 -0.2161)
OKLCH
oklch(0.49 0.2172 264.38)
Display P3
color(display-p3 0.16658300816534347 0.301661473241427 0.8158064927859925)
CSS Color Level 4
color(srgb 0.11372549019607843 0.3058823529411765 0.8470588235294118)
XYZ
color(xyz-d65 0.1562 0.1067 0.6620)
CMYK
cmyk(86.57% 63.89% 0.00% 15.29%)

Practical Formats

Variables, config files, and code snippets.

CSS Variable
--color-brand-primary: #1D4ED8;
CSS RGB Variable
--color-brand-primary-rgb: 29, 78, 216;
SCSS Variable
$color-brand-primary: #1D4ED8;
Tailwind Config
"brand-primary": "#1D4ED8"
JavaScript
const brandprimary = "#1D4ED8";
Design Token JSON
{
  "color": {
    "brand-primary": {
      "value": "#1D4ED8",
      "type": "color"
    }
  }
}
SVG Fill
<rect fill="#1D4ED8" />
Android XML
<color name="brand_primary">#1D4ED8</color>
iOS Swift
UIColor(red: 0.114, green: 0.306, blue: 0.847, alpha: 1.0)
HSL CSS Variable
--color-brand-primary-hsl: 224.28 76.33% 48.04%;

Color Analysis

Deep dive into color properties and accessibility.

Closest Color Name
royalblue
Temperature
Cool
Hue Family
Blue
Relative Luminance
0.1067
Saturation Level
Highly saturated
Lightness Level
Medium

Blindness Simulator

How this color appears under color vision deficiencies.

Protanopia

Red-blind simulation

#4646D8

Deuteranopia

Green-blind simulation

#3E3ED9

Tritanopia

Blue-blind simulation

#0B5F5F

Achromatopsia

No-color simulation

#4E4E4E

Creative Aspects

Palettes, gradients, and moods.

Complementary

#1D4ED8#D8A71D

Analogous

#1DACD8#1D4ED8#491DD8

Triadic

#1D4ED8#D81D4E#4ED81D

Tetradic

#1D4ED8#D81DAC#D8A71D#1DD849

Monochromatic

#A2A8FF#6C7AEC#1D4ED8#152AA5#000375

Tints

#FFFFFF#D4CFF7#A7A2ED#7376E3#1D4ED8

Shades

#1D4ED8#0038BC#0024A1#001287#000000

Gradient Flow

#1D9CD8#007AE1#1D4ED8#273BDA#3A1DD8

Design guidance

Balance

Treat #1D4ED8 as a highlight. Pair it with neutrals and one supporting hue to avoid visual overload.

Contrast

Test combinations with real content. Higher contrast improves scanning, readability, and conversions.

Harmony

Use lighter tints for surfaces, the base color for primaries, and darker shades for hover or pressed states.

Need another color?

Jump back to the color picker to upload images, generate palettes, and explore new color relationships.

Pick Another Color