#2A3281 color

#2A3281 rgb(42, 50, 129)
Shades of blue

The hex color #2A3281 is a dark, moderate blue.

In the RGB color model it is made of 16.5% red, 19.6% green and 50.6% blue (42, 50, 129).

Its hue angle is 234°, with 51% saturation and 34% lightness. For print, the CMYK equivalent is 67% cyan, 61% magenta, 0% yellow and 49% black.

The closest named color is Intergalactic Highway (#273287), a difference of 1.1 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 11.22:1).

#2A3281 color codes

HEX#2A3281
RGBrgb(42, 50, 129)
RGB percentrgb(16.5%, 19.6%, 50.6%)
HSLhsl(234, 51%, 34%)
HSV / HSBhsv(234, 67%, 51%)
CMYKcmyk(67%, 61%, 0%, 49%)
CIE LABlab(24.82, 23.76, -45.7)
CIE LCHlch(24.82, 51.5, 297.47)
CIE XYZxyz(6.057, 4.358, 21.287)
Decimal2765441
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #2A3281, 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 #2A3281RatioAAAAAAA large
Sample text1.87:1FailFailFail
Sample text11.22:1PassPassPass
#2A3281 as text onRatioAAAAAAA large
Sample text11.22:1PassPassPass
Sample text1.87: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 #2A3281 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #2a3281; }
.text { color: #2a3281; }
.border { border: 2px solid #2a3281; }
.transparent { background-color: rgb(42 50 129 / 50%); }
.gradient { background: linear-gradient(to right, #2a3281, #4e2a81); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

What color is #2A3281?
#2A3281 is a dark, moderate blue, closest to the named color Intergalactic Highway. It belongs to the blue family of colors.
What is the RGB value of #2A3281?
The RGB value is 42, 50, 129: 42 red, 50 green and 129 blue on a 0 to 255 scale.
What is the complementary color of #2A3281?
The complementary color is #81792A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #2A3281?
White text. Black text has a contrast ratio of 1.87:1 and white text 11.22:1. WCAG asks for at least 4.5:1 for normal text.