#2F4FA5 color

#2F4FA5 rgb(47, 79, 165)
Shades of blue

The hex color #2F4FA5 is a moderate blue.

In the RGB color model it is made of 18.4% red, 31% green and 64.7% blue (47, 79, 165).

Its hue angle is 224°, with 56% saturation and 42% lightness. For print, the CMYK equivalent is 72% cyan, 52% magenta, 0% yellow and 35% black.

The closest named color is Blasphemous Blue (#3356AA), a difference of 2.3 ΔE, a small difference.

White text is the more readable choice on this background (contrast 7.55:1).

#2F4FA5 color codes

HEX#2F4FA5
RGBrgb(47, 79, 165)
RGB percentrgb(18.4%, 31%, 64.7%)
HSLhsl(224, 56%, 42%)
HSV / HSBhsv(224, 72%, 65%)
CMYKcmyk(72%, 52%, 0%, 35%)
CIE LABlab(35.81, 18.52, -49.91)
CIE LCHlch(35.81, 53.23, 290.36)
CIE XYZxyz(10.757, 8.912, 36.743)
Decimal3100581
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #2F4FA5, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #2F4FA5RatioAAAAAAA large
Sample text2.78:1FailFailFail
Sample text7.55:1PassPassPass
#2F4FA5 as text onRatioAAAAAAA large
Sample text7.55:1PassPassPass
Sample text2.78:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #2F4FA5 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #2f4fa5; }
.text { color: #2f4fa5; }
.border { border: 2px solid #2f4fa5; }
.transparent { background-color: rgb(47 79 165 / 50%); }
.gradient { background: linear-gradient(to right, #2f4fa5, #4a2fa5); }
Background
Text color
Border

Similar colors

Questions

What color is #2F4FA5?
#2F4FA5 is a moderate blue, closest to the named color Blasphemous Blue. It belongs to the blue family of colors.
What is the RGB value of #2F4FA5?
The RGB value is 47, 79, 165: 47 red, 79 green and 165 blue on a 0 to 255 scale.
What is the complementary color of #2F4FA5?
The complementary color is #A5852F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #2F4FA5?
White text. Black text has a contrast ratio of 2.78:1 and white text 7.55:1. WCAG asks for at least 4.5:1 for normal text.