Maroon Colors  ·  Color Library

Palettes / Colors / #2D2FD2

#2D2FD2 — Blue

#2D2FD2 is a blue color we call Blue, closest to the named color RoyalBlue (#4169E1). It belongs to the blue family.

Color name

Closest CSS keyword: royalblue (#4169E1) — not an exact match. CSS royalblue gives you #4169E1, a different color; use #2D2FD2 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#2D2FD2 is a cool blue color associated with trust, calm and professionalism. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #D2D02D; it also sits naturally between #2D82D2 and #7D2DD2. In the palettes below you can see it working alongside real color combinations from our collection.

#2D2FD2 · RGB 45, 47, 210

Download PNG swatch SVG

Color values

HEX#2D2FD2
RGB45, 47, 210
HSL239°, 65%, 50%
HSV239°, 79%, 82%
CMYK79%, 78%, 0%, 18%
XYZ13.73, 7.24, 61.65
Yxy7.24, 0.1662, 0.0877
CIE-Lab32.36, 53.93, -82.08
Hunter Lab26.91, 46.13, -122.98

RGB & CMYK percentages

Red 18% · Green 18% · Blue 82%

Cyan 79% · Magenta 78% · Yellow 0% · Key 18%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #2D2FD2 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #2D2FD2 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #2D2FD2

.text { color: #2D2FD2; }
.background { background-color: #2D2FD2; }
.border { border: 3px solid #2D2FD2; }
.text-rgb { color: rgb(45, 47, 210); }
.text-hsl { color: hsl(239, 65%, 50%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #2D2FD2; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(45, 47, 210, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #2D2FD2; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(45, 47, 210, 0.8); }

HTML: <p style="color:#2D2FD2">Text here</p> · <div style="background-color:#2D2FD2">Div content here</div>

Shades of #2D2FD2

#282BBD#2527AD#202297#1D1E87#181A72#14155D#10114C#0C0C37#080926#040411

Tints of #2D2FD2

#4244D7#5255DA#686ADF#787AE2#8D8FE7#A2A4EB#B3B4EF#C8C9F3#D9DAF7#EEEEFB

Tones of #2D2FD2

#383AC7#4547BA#5052AF#5C5DA3#676898#74748B

Color harmonies

Complementary — #D2D02D:

Analogous:

Triadic:

Contrast & accessibility

Against white text8.58:1 AAA
Against black text2.45:1 Fails

Best text color on #2D2FD2: #FFFFFF.

Semi-transparent (opacity) text on #2D2FD2

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #2D2FD2: ·

How #2D2FD2 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #2E2EABDeuteranopia · #2E2EA1Tritanopia · #2D8B85

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Tailwind indigo 600 · #4F46E5Material Indigo 500 · #3F51B5Tailwind blue 600 · #2563EB

Palettes with a similar color

These palettes use a close neighbour of #2D2FD2 rather than the exact color:

Lucky Ruby Dusk
#288396 · #2B6CC5 · #2A2CD0 · #54279B
Hidden Ruby Lagoon
#5491DC · #2A31CE · #8B5DD9 · #9F24C2
Palette 332fd0
#332FD0 · #9254C8 · #E15FED · #6EDCD9
Palette 362fd9
#362FD9 · #1AACAC · #2E97A7 · #EEEEEE
Royal Terrace
#1A5386 · #2E26CB · #9B43CF · #D83EB8
Tender Mosaic
#A52A2C · #36CA33 · #3336CA · #E3B5BD

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#2A2CD0#2A31CE#332FD0#362FD9#2E26CB#3336CA#2E2AC5#2726DB#1F2AD1#2439CB#2C24C7#303AC6

Browse neighbouring colors

← #2D2FD1  ·  #2D2FD3 →

Frequently asked questions

What color is #2D2FD2?

#2D2FD2 is Blue, a blue color (RGB 45, 47, 210). Its closest standard named color is RoyalBlue.

What is the RGB and HSL of #2D2FD2?

#2D2FD2 is RGB 45, 47, 210 — HSL 239°, 65%, 50% — CMYK 79%, 78%, 0%, 18%.

What colors go with #2D2FD2?

Its complement is #D2D02D; analogous partners are #2D82D2 and #7D2DD2. It also appears in 6+ palettes in our collection.

Can I use #2D2FD2 for text?

White text on #2D2FD2 has a contrast ratio of 8.58:1 (passes WCAG AA); black text gives 2.45:1.