Maroon Colors  ·  Color Library

Palettes / Colors / #2F78CA

#2F78CA — Blue

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

#2F78CA 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 #CA822F; it also sits naturally between #2FC5CA and #352FCA. In the palettes below you can see it working alongside real color combinations from our collection.

#2F78CA · RGB 47, 120, 202

Download PNG swatch SVG

Color values

HEX#2F78CA
RGB47, 120, 202
HSL212°, 62%, 49%
HSV212°, 77%, 79%
CMYK77%, 41%, 0%, 21%
XYZ18.55, 18.30, 58.43
Yxy18.30, 0.1947, 0.1921
CIE-Lab49.86, 6.15, -48.98
Hunter Lab42.78, 4.89, -55.42

RGB & CMYK percentages

Red 18% · Green 47% · Blue 79%

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

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

Previews

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

CSS code for #2F78CA

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

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

Shades of #2F78CA

#2C6EBA#2762A5#235895#1E4C80#1A4270#15365B#112C4A#0D2036#091625#040A11

Tints of #2F78CA

#4185D2#518FD6#669DDB#7BAAE0#8FB7E5#A0C2E9#B5CFEE#C9DCF2#DAE7F6#EEF4FB

Tones of #2F78CA

#3B79BF#4679B4#517AA9#5B7B9F#667B93#727C88

Color harmonies

Complementary — #CA822F:

Analogous:

Triadic:

Contrast & accessibility

Against white text4.51:1 AA
Against black text4.66:1 AA

Best text color on #2F78CA: #000000.

Semi-transparent (opacity) text on #2F78CA

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

How #2F78CA looks with color blindness

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

Protanopia · #4F4FB6Deuteranopia · #4A45B1Tritanopia · #33A6A3

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 blue 600 · #2563EBTailwind sky 600 · #0284C7Tailwind blue 500 · #3B82F6

Palettes with a similar color

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

Palette 191d88
#191D88 · #1450A3 · #337CCF · #FFC436
Palette Fff5c2
#FFF5C2 · #F4F27E · #6DB9EF · #3081D0
Amber Meadow
#268E27 · #27935B · #3CD3CE · #257CC4
Lucky Ruby Dusk
#288396 · #2B6CC5 · #2A2CD0 · #54279B
Tender Ruby Harbor
#784C20 · #D0874D · #3982CB · #D1DEEF
Palette 192655
#192655 · #3876BF · #E1AA74 · #F3F0CA

Similar colors

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

#337CCF#3081D0#257CC4#2B6CC5#3982CB#3876BF#3085C3#2078C6#2F7DDA#3A7DBE#3167C8#2E67CE

Browse neighbouring colors

← #2F78C9  ·  #2F78CB →

Frequently asked questions

What color is #2F78CA?

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

What is the RGB and HSL of #2F78CA?

#2F78CA is RGB 47, 120, 202 — HSL 212°, 62%, 49% — CMYK 77%, 41%, 0%, 21%.

What colors go with #2F78CA?

Its complement is #CA822F; analogous partners are #2FC5CA and #352FCA. It also appears in 6+ palettes in our collection.

Can I use #2F78CA for text?

Black text on #2F78CA has a contrast ratio of 4.66:1 (passes WCAG AA); white text gives 4.51:1.