#2A4998 color
The hex color #2A4998 is a moderate blue.
In the RGB color model it is made of 16.5% red, 28.6% green and 59.6% blue (42, 73, 152).
Its hue angle is 223°, with 57% saturation and 38% lightness. For print, the CMYK equivalent is 72% cyan, 52% magenta, 0% yellow and 40% black.
The closest named color is Cascade Twilight (#234893), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.38:1).
#2A4998 color codes
| HEX | #2A4998 | |
|---|---|---|
| RGB | rgb(42, 73, 152) | |
| RGB percent | rgb(16.5%, 28.6%, 59.6%) | |
| HSL | hsl(223, 57%, 38%) | |
| HSV / HSB | hsv(223, 72%, 60%) | |
| CMYK | cmyk(72%, 52%, 0%, 40%) | |
| CIE LAB | lab(32.97, 16.84, -46.68) | |
| CIE LCH | lch(32.97, 49.63, 289.84) | |
| CIE XYZ | xyz(9.003, 7.523, 30.677) | |
| Decimal | 2771352 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2A4998, 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 #2A4998 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.5:1 | Fail | Fail | Fail |
| Sample text | 8.38:1 | Pass | Pass | Pass |
| #2A4998 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.38:1 | Pass | Pass | Pass |
| Sample text | 2.5: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 #2A4998 looks to people with the most common types of color vision deficiency.
#18539bProtanopia
no red cones#004996Deuteranopia
no green cones#005c69Tritanopia
no blue cones#4e4e4eAchromatopsia
no color vision
CSS examples
.background { background-color: #2a4998; }
.text { color: #2a4998; }
.border { border: 2px solid #2a4998; }
.transparent { background-color: rgb(42 73 152 / 50%); }
.gradient { background: linear-gradient(to right, #2a4998, #422a98); }
Similar colors
#234893Cascade Twilight#1e488fNuit Blanche#25488aPacific Navy#244e94Le Grand Bleu#2e5090Nightly Activities#0047abCobalt Blue#1c4d8fDancing Sea#1c4c8cOlympian Blue
Questions
- What color is #2A4998?
- #2A4998 is a moderate blue, closest to the named color Cascade Twilight. It belongs to the blue family of colors.
- What is the RGB value of #2A4998?
- The RGB value is 42, 73, 152: 42 red, 73 green and 152 blue on a 0 to 255 scale.
- What is the complementary color of #2A4998?
- The complementary color is #98792A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2A4998?
- White text. Black text has a contrast ratio of 2.5:1 and white text 8.38:1. WCAG asks for at least 4.5:1 for normal text.