#2A198E color
The hex color #2A198E is a dark, moderate blue.
In the RGB color model it is made of 16.5% red, 9.8% green and 55.7% blue (42, 25, 142).
Its hue angle is 249°, with 70% saturation and 33% lightness. For print, the CMYK equivalent is 70% cyan, 82% magenta, 0% yellow and 44% black.
The closest named color is Indiglow (#301885), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.9:1).
#2A198E color codes
| HEX | #2A198E | |
|---|---|---|
| RGB | rgb(42, 25, 142) | |
| RGB percent | rgb(16.5%, 9.8%, 55.7%) | |
| HSL | hsl(249, 70%, 33%) | |
| HSV / HSB | hsv(249, 82%, 56%) | |
| CMYK | cmyk(70%, 82%, 0%, 44%) | |
| CIE LAB | lab(20.6, 43.35, -60.77) | |
| CIE LCH | lch(20.6, 74.65, 305.5) | |
| CIE XYZ | xyz(6.183, 3.14, 25.866) | |
| Decimal | 2759054 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2A198E, 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 #2A198E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.63:1 | Fail | Fail | Fail |
| Sample text | 12.9:1 | Pass | Pass | Pass |
| #2A198E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.9:1 | Pass | Pass | Pass |
| Sample text | 1.63: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 #2A198E looks to people with the most common types of color vision deficiency.
#003691Protanopia
no red cones#002d8cDeuteranopia
no green cones#003d54Tritanopia
no blue cones#323232Achromatopsia
no color vision
CSS examples
.background { background-color: #2a198e; }
.text { color: #2a198e; }
.border { border: 2px solid #2a198e; }
.transparent { background-color: rgb(42 25 142 / 50%); }
.gradient { background: linear-gradient(to right, #2a198e, #65198e); }
Similar colors
#301885Indiglow#221188Nightly Expedition#0c1793Royal#312297Gentian Blue#111188Galactic Cruise#120a8fUltramarine#001199Space Exploration#240093Dramatic Blue
Questions
- What color is #2A198E?
- #2A198E is a dark, moderate blue, closest to the named color Indiglow. It belongs to the blue family of colors.
- What is the RGB value of #2A198E?
- The RGB value is 42, 25, 142: 42 red, 25 green and 142 blue on a 0 to 255 scale.
- What is the complementary color of #2A198E?
- The complementary color is #7D8E19, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2A198E?
- White text. Black text has a contrast ratio of 1.63:1 and white text 12.9:1. WCAG asks for at least 4.5:1 for normal text.