#311790 color

#311790 rgb(49, 23, 144)
Shades of blue

The hex color #311790 is a dark, moderate violet.

In the RGB color model it is made of 19.2% red, 9% green and 56.5% blue (49, 23, 144).

Its hue angle is 253°, with 72% saturation and 33% lightness. For print, the CMYK equivalent is 66% cyan, 84% magenta, 0% yellow and 44% black.

The closest named color is Indiglow (#301885), a difference of 1.7 ΔE, which is barely visible.

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

#311790 color codes

HEX#311790
RGBrgb(49, 23, 144)
RGB percentrgb(19.2%, 9%, 56.5%)
HSLhsl(253, 72%, 33%)
HSV / HSBhsv(253, 84%, 56%)
CMYKcmyk(66%, 84%, 0%, 44%)
CIE LABlab(21.13, 45.54, -61.12)
CIE LCHlch(21.13, 76.21, 306.69)
CIE XYZxyz(6.605, 3.279, 26.665)
Decimal3217296
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #311790, 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 #311790RatioAAAAAAA large
Sample text1.66:1FailFailFail
Sample text12.68:1PassPassPass
#311790 as text onRatioAAAAAAA large
Sample text12.68:1PassPassPass
Sample text1.66: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 #311790 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #311790; }
.text { color: #311790; }
.border { border: 2px solid #311790; }
.transparent { background-color: rgb(49 23 144 / 50%); }
.gradient { background: linear-gradient(to right, #311790, #6d1790); }
Background
Text color
Border

Similar colors

Questions

What color is #311790?
#311790 is a dark, moderate violet, closest to the named color Indiglow. It belongs to the blue family of colors.
What is the RGB value of #311790?
The RGB value is 49, 23, 144: 49 red, 23 green and 144 blue on a 0 to 255 scale.
What is the complementary color of #311790?
The complementary color is #769017, found by rotating the hue 180° on the color wheel.
Is black or white text better on #311790?
White text. Black text has a contrast ratio of 1.66:1 and white text 12.68:1. WCAG asks for at least 4.5:1 for normal text.