#2A198E color

#2A198E rgb(42, 25, 142)
Shades of blue

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
RGBrgb(42, 25, 142)
RGB percentrgb(16.5%, 9.8%, 55.7%)
HSLhsl(249, 70%, 33%)
HSV / HSBhsv(249, 82%, 56%)
CMYKcmyk(70%, 82%, 0%, 44%)
CIE LABlab(20.6, 43.35, -60.77)
CIE LCHlch(20.6, 74.65, 305.5)
CIE XYZxyz(6.183, 3.14, 25.866)
Decimal2759054
Short hexNone (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 #2A198ERatioAAAAAAA large
Sample text1.63:1FailFailFail
Sample text12.9:1PassPassPass
#2A198E as text onRatioAAAAAAA large
Sample text12.9:1PassPassPass
Sample text1.63:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.