Maroon Colors  ·  Color Library

Palettes / Colors / #2F2FCA

#2F2FCA — Blue

#2F2FCA 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 #2F2FCA 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.

#2F2FCA 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 #CACA2F; it also sits naturally between #2F7DCA and #7D2FCA. In the palettes below you can see it working alongside real color combinations from our collection.

#2F2FCA · RGB 47, 47, 202

Download PNG swatch SVG

Color values

HEX#2F2FCA
RGB47, 47, 202
HSL240°, 62%, 49%
HSV240°, 77%, 79%
CMYK77%, 77%, 0%, 21%
XYZ12.85, 6.90, 56.53
Yxy6.90, 0.1684, 0.0905
CIE-Lab31.58, 51.52, -78.71
Hunter Lab26.27, 43.41, -114.88

RGB & CMYK percentages

Red 18% · Green 18% · Blue 79%

Cyan 77% · Magenta 77% · Yellow 0% · Key 21%

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

Previews

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

CSS code for #2F2FCA

.text { color: #2F2FCA; }
.background { background-color: #2F2FCA; }
.border { border: 3px solid #2F2FCA; }
.text-rgb { color: rgb(47, 47, 202); }
.text-hsl { color: hsl(240, 62%, 49%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #2F2FCA; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(47, 47, 202, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #2F2FCA; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(47, 47, 202, 0.8); }

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

Shades of #2F2FCA

#2C2CBA#2727A5#232395#1E1E80#1A1A70#15155B#11114A#0D0D36#090925#040411

Tints of #2F2FCA

#4141D2#5151D6#6666DB#7B7BE0#8F8FE5#A0A0E9#B5B5EE#C9C9F2#DADAF6#EEEEFB

Tones of #2F2FCA

#3B3BBF#4646B4#5151A9#5B5B9F#666693#727288

Color harmonies

Complementary — #CACA2F:

Analogous:

Triadic:

Contrast & accessibility

Against white text8.82:1 AAA
Against black text2.38:1 Fails

Best text color on #2F2FCA: #FFFFFF.

Semi-transparent (opacity) text on #2F2FCA

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 #2F2FCA: ·

How #2F2FCA looks with color blindness

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

Protanopia · #2F2FA4Deuteranopia · #2F2F9BTritanopia · #2F8780

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:

Material Indigo 500 · #3F51B5Tailwind indigo 600 · #4F46E5Material Deep Purple 500 · #673AB7

Palettes with a similar color

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

Hidden Ruby Lagoon
#5491DC · #2A31CE · #8B5DD9 · #9F24C2
Scarlet Cinder
#908EE6 · #4F4BD8 · #2E2AC5 · #121155
Palette 332fd0
#332FD0 · #9254C8 · #E15FED · #6EDCD9
Tender Mosaic
#A52A2C · #36CA33 · #3336CA · #E3B5BD
Lucky Ruby Dusk
#288396 · #2B6CC5 · #2A2CD0 · #54279B
Royal Terrace
#1A5386 · #2E26CB · #9B43CF · #D83EB8

Similar colors

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

#2A31CE#2E2AC5#332FD0#3336CA#2A2CD0#2E26CB#303AC6#2C24C7#3031BE#3C33CB#3A2FC0#2439CB

Browse neighbouring colors

← #2F2FC9  ·  #2F2FCB →

Frequently asked questions

What color is #2F2FCA?

#2F2FCA is Blue, a blue color (RGB 47, 47, 202). Its closest standard named color is RoyalBlue.

What is the RGB and HSL of #2F2FCA?

#2F2FCA is RGB 47, 47, 202 — HSL 240°, 62%, 49% — CMYK 77%, 77%, 0%, 21%.

What colors go with #2F2FCA?

Its complement is #CACA2F; analogous partners are #2F7DCA and #7D2FCA. It also appears in 6+ palettes in our collection.

Can I use #2F2FCA for text?

White text on #2F2FCA has a contrast ratio of 8.82:1 (passes WCAG AA); black text gives 2.38:1.