#2F5FDA Color Information

Hex color code: #2F5FDA

A serene blue shade, #2F5FDA appears as (47, 95, 218) in RGB and (223°, 70%, 52%) in HSL. It is popular in mobile app design.

Try:
Color NameRoyal Blue
HEX
#2F5FDA
RGB
47, 95, 218
HSL
223°, 70%, 52%
CMYK
78%, 56%, 0%, 15%

Shades

CSS Usage
color: #2F5FDA;
background-color: #2F5FDA;
border-color: #2F5FDA;
box-shadow: 0 0 10px #2F5FDA;
border: 2px solid #2F5FDA;
Tailwind Usage
bg-[#2F5FDA]
text-[#2F5FDA]
border-[#2F5FDA]
shadow-[0_0_10px_2F5FDA]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #2F5FDA, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #2F5FDA; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #2F5FDA; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #2F5FDA; background-color: #2F5FDA15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #2F5FDA20; border-left: 4px solid #2F5FDA; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #2F5FDA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #2F5FDA in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

47, 95, 218

Red: 47 / Green: 95 / Blue: 218

HSL

223°, 70%, 52%

Hue: 223° / Saturation: 70% / Lightness: 52%

CMYK

78%, 56%, 0%, 15%

Cyan: 78% / Magenta: 56% / Yellow: 0% / Key: 15%

What color is #2F5FDA?

#2F5FDA is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #2F5FDA to RGB:

rgb(47, 95, 218)HEX to RGB Converter →

HEX to HSL

Convert #2F5FDA to HSL:

hsl(223, 70%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #2F5FDA to CMYK:

cmyk(78%, 56%, 0%, 15%)Color Converter →

Color Meaning and Usage

#2F5FDA is a calming blue color with RGB values of 47, 95, 218 and HSL of 223°, 70%, 52%. This blue-purple hue evokes creativity and luxury, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #2F5FDA is #DAAA2F, creating high-contrast pairings. For softer combinations, try analogous colors like #2FB5DA.

Use #2F5FDA in CSS: color: #2F5FDA or background-color: #2F5FDA. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #2F5FDA

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 3.77:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #2F5FDA?

#2F5FDA is a calming blue color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #2F5FDA?

#2F5FDA in RGB is (47, 95, 218) - 47 red, 95 green, and 218 blue.

How to use #2F5FDA in CSS?

Use #2F5FDA directly in your CSS properties like color or background-color.

What colors go well with #2F5FDA?

#DAAA2F (complementary), #2FB5DA (analogous), and #1C42A0 (lighter shade) work well with #2F5FDA.