#2F4FA5 color
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 | |
|---|---|---|
| RGB | rgb(47, 79, 165) | |
| RGB percent | rgb(18.4%, 31%, 64.7%) | |
| HSL | hsl(224, 56%, 42%) | |
| HSV / HSB | hsv(224, 72%, 65%) | |
| CMYK | cmyk(72%, 52%, 0%, 35%) | |
| CIE LAB | lab(35.81, 18.52, -49.91) | |
| CIE LCH | lch(35.81, 53.23, 290.36) | |
| CIE XYZ | xyz(10.757, 8.912, 36.743) | |
| Decimal | 3100581 | |
| Short hex | None (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 #2F4FA5 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.78:1 | Fail | Fail | Fail |
| Sample text | 7.55:1 | Pass | Pass | Pass |
| #2F4FA5 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.55:1 | Pass | Pass | Pass |
| Sample text | 2.78:1 | Fail | Fail | Fail |
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.
#195aa8Protanopia
no red cones#004fa3Deuteranopia
no green cones#006372Tritanopia
no blue cones#545454Achromatopsia
no color vision
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); }
Similar colors
#3356aaBlasphemous Blue#244e94Le Grand Bleu#2e5090Nightly Activities#0047abCobalt Blue#234893Cascade Twilight#0f52baSapphire#1e488fNuit Blanche#225599Fist of the North Star
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.