#2F428C color
The hex color #2F428C is a dark, desaturated blue.
In the RGB color model it is made of 18.4% red, 25.9% green and 54.9% blue (47, 66, 140).
Its hue angle is 228°, with 50% saturation and 37% lightness. For print, the CMYK equivalent is 66% cyan, 53% magenta, 0% yellow and 45% black.
The closest named color is Queen of the Night Shift (#3D4585), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.22:1).
#2F428C color codes
| HEX | #2F428C | |
|---|---|---|
| RGB | rgb(47, 66, 140) | |
| RGB percent | rgb(18.4%, 25.9%, 54.9%) | |
| HSL | hsl(228, 50%, 37%) | |
| HSV / HSB | hsv(228, 66%, 55%) | |
| CMYK | cmyk(66%, 53%, 0%, 45%) | |
| CIE LAB | lab(30.38, 17.84, -43.51) | |
| CIE LCH | lch(30.38, 47.02, 292.29) | |
| CIE XYZ | xyz(7.853, 6.394, 25.626) | |
| Decimal | 3097228 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2F428C, 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 #2F428C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.28:1 | Fail | Fail | Fail |
| Sample text | 9.22:1 | Pass | Pass | Pass |
| #2F428C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.22:1 | Pass | Pass | Pass |
| Sample text | 2.28: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 #2F428C looks to people with the most common types of color vision deficiency.
#164c8fProtanopia
no red cones#00448aDeuteranopia
no green cones#005360Tritanopia
no blue cones#484848Achromatopsia
no color vision
CSS examples
.background { background-color: #2f428c; }
.text { color: #2f428c; }
.border { border: 2px solid #2f428c; }
.transparent { background-color: rgb(47 66 140 / 50%); }
.gradient { background: linear-gradient(to right, #2f428c, #4b2f8c); }
Similar colors
#3d4585Queen of the Night Shift#234893Cascade Twilight#363e7dEvening Magic#25488aPacific Navy#1e488fNuit Blanche#1e4581Maritime Outpost#333c76Good Karma#444499Galaxy Express
Closest common color name: Cobalt Blue.
Questions
- What color is #2F428C?
- #2F428C 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 #2F428C?
- The RGB value is 47, 66, 140: 47 red, 66 green and 140 blue on a 0 to 255 scale.
- What is the complementary color of #2F428C?
- The complementary color is #8C792F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2F428C?
- White text. Black text has a contrast ratio of 2.28:1 and white text 9.22:1. WCAG asks for at least 4.5:1 for normal text.