#3131B7 color

#3131B7 rgb(49, 49, 183)
Shades of blue

The hex color #3131B7 is a moderate blue.

In the RGB color model it is made of 19.2% red, 19.2% green and 71.8% blue (49, 49, 183).

Its hue angle is 240°, with 58% saturation and 45% lightness. For print, the CMYK equivalent is 73% cyan, 73% magenta, 0% yellow and 28% black.

The closest named color is Sapphire Splendour (#2425B9), a difference of 2.7 ΔE, a small difference.

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

#3131B7 color codes

HEX#3131B7
RGBrgb(49, 49, 183)
RGB percentrgb(19.2%, 19.2%, 71.8%)
HSLhsl(240, 58%, 45%)
HSV / HSBhsv(240, 73%, 72%)
CMYKcmyk(73%, 73%, 0%, 28%)
CIE LABlab(30.08, 44.38, -70)
CIE LCHlch(30.08, 82.88, 302.38)
CIE XYZxyz(10.909, 6.267, 45.425)
Decimal3223991
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #3131B7, 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 #3131B7RatioAAAAAAA large
Sample text2.25:1FailFailFail
Sample text9.32:1PassPassPass
#3131B7 as text onRatioAAAAAAA large
Sample text9.32:1PassPassPass
Sample text2.25: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 #3131B7 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #3131b7; }
.text { color: #3131b7; }
.border { border: 2px solid #3131b7; }
.transparent { background-color: rgb(49 49 183 / 50%); }
.gradient { background: linear-gradient(to right, #3131b7, #7431b7); }
Background
Text color
Border

Similar colors

Questions

What color is #3131B7?
#3131B7 is a moderate blue, closest to the named color Sapphire Splendour. It belongs to the blue family of colors.
What is the RGB value of #3131B7?
The RGB value is 49, 49, 183: 49 red, 49 green and 183 blue on a 0 to 255 scale.
What is the complementary color of #3131B7?
The complementary color is #B7B731, found by rotating the hue 180° on the color wheel.
Is black or white text better on #3131B7?
White text. Black text has a contrast ratio of 2.25:1 and white text 9.32:1. WCAG asks for at least 4.5:1 for normal text.