#2F4286 color
The hex color #2F4286 is a dark, desaturated blue.
In the RGB color model it is made of 18.4% red, 25.9% green and 52.5% blue (47, 66, 134).
Its hue angle is 227°, with 48% saturation and 35% lightness. For print, the CMYK equivalent is 65% cyan, 51% magenta, 0% yellow and 47% black.
The closest named color is Queen of the Night Shift (#3D4585), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.36:1).
#2F4286 color codes
| HEX | #2F4286 | |
|---|---|---|
| RGB | rgb(47, 66, 134) | |
| RGB percent | rgb(18.4%, 25.9%, 52.5%) | |
| HSL | hsl(227, 48%, 35%) | |
| HSV / HSB | hsv(227, 65%, 53%) | |
| CMYK | cmyk(65%, 51%, 0%, 47%) | |
| CIE LAB | lab(29.96, 15.59, -40.48) | |
| CIE LCH | lch(29.96, 43.38, 291.07) | |
| CIE XYZ | xyz(7.422, 6.221, 23.359) | |
| Decimal | 3097222 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F4286, 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 #2F4286 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.24:1 | Fail | Fail | Fail |
| Sample text | 9.36:1 | Pass | Pass | Pass |
| #2F4286 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.36:1 | Pass | Pass | Pass |
| Sample text | 2.24: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 #2F4286 looks to people with the most common types of color vision deficiency.
#1e4b88Protanopia
no red cones#0a4385Deuteranopia
no green cones#00525dTritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #2f4286; }
.text { color: #2f4286; }
.border { border: 2px solid #2f4286; }
.transparent { background-color: rgb(47 66 134 / 50%); }
.gradient { background: linear-gradient(to right, #2f4286, #472f86); }
Similar colors
#3d4585Queen of the Night Shift#363e7dEvening Magic#25488aPacific Navy#333c76Good Karma#234893Cascade Twilight#1e4581Maritime Outpost#2c4170Napoleonic Blue#2e4a7dNautical
Closest common color name: Cobalt Blue.
Questions
- What color is #2F4286?
- #2F4286 is a dark, desaturated blue, closest to the named color Queen of the Night Shift. It belongs to the blue family of colors.
- What is the RGB value of #2F4286?
- The RGB value is 47, 66, 134: 47 red, 66 green and 134 blue on a 0 to 255 scale.
- What is the complementary color of #2F4286?
- The complementary color is #86732F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F4286?
- White text. Black text has a contrast ratio of 2.24:1 and white text 9.36:1. WCAG asks for at least 4.5:1 for normal text.