#2F5EB1 color
The hex color #2F5EB1 is a moderate azure.
In the RGB color model it is made of 18.4% red, 36.9% green and 69.4% blue (47, 94, 177).
Its hue angle is 218°, with 58% saturation and 44% lightness. For print, the CMYK equivalent is 73% cyan, 47% magenta, 0% yellow and 31% black.
The closest named color is Denim (#1560BD), a difference of 2.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.26:1).
#2F5EB1 color codes
| HEX | #2F5EB1 | |
|---|---|---|
| RGB | rgb(47, 94, 177) | |
| RGB percent | rgb(18.4%, 36.9%, 69.4%) | |
| HSL | hsl(218, 58%, 44%) | |
| HSV / HSB | hsv(218, 73%, 69%) | |
| CMYK | cmyk(73%, 47%, 0%, 31%) | |
| CIE LAB | lab(40.87, 13.2, -48.88) | |
| CIE LCH | lch(40.87, 50.63, 285.12) | |
| CIE XYZ | xyz(13.108, 11.783, 43.17) | |
| Decimal | 3104433 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F5EB1, 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 #2F5EB1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.36:1 | Fail | Fail | Pass |
| Sample text | 6.26:1 | Pass | Fail | Pass |
| #2F5EB1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.26:1 | Pass | Fail | Pass |
| Sample text | 3.36:1 | Fail | Fail | Pass |
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 #2F5EB1 looks to people with the most common types of color vision deficiency.
#3267b4Protanopia
no red cones#135bafDeuteranopia
no green cones#00727fTritanopia
no blue cones#606060Achromatopsia
no color vision
CSS examples
.background { background-color: #2f5eb1; }
.text { color: #2f5eb1; }
.border { border: 2px solid #2f5eb1; }
.transparent { background-color: rgb(47 94 177 / 50%); }
.gradient { background: linear-gradient(to right, #2f5eb1, #412fb1); }
Similar colors
#1560bdDenim#3356aaBlasphemous Blue#4664a5Starstruck#0f52baSapphire#225599Fist of the North Star#1d5699Blue Chip#4466ccGod of Rain#0065acWing Commander
Questions
- What color is #2F5EB1?
- #2F5EB1 is a moderate azure, closest to the named color Denim. It belongs to the blue family of colors.
- What is the RGB value of #2F5EB1?
- The RGB value is 47, 94, 177: 47 red, 94 green and 177 blue on a 0 to 255 scale.
- What is the complementary color of #2F5EB1?
- The complementary color is #B1822F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F5EB1?
- White text. Black text has a contrast ratio of 3.36:1 and white text 6.26:1. WCAG asks for at least 4.5:1 for normal text.