#313274 color

#313274 rgb(49, 50, 116)
Shades of blue

The hex color #313274 is a dark, desaturated blue.

In the RGB color model it is made of 19.2% red, 19.6% green and 45.5% blue (49, 50, 116).

Its hue angle is 239°, with 41% saturation and 32% lightness. For print, the CMYK equivalent is 58% cyan, 57% magenta, 0% yellow and 55% black.

The closest named color is Good Karma (#333C76), a difference of 3.4 ΔE, a small difference.

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

#313274 color codes

HEX#313274
RGBrgb(49, 50, 116)
RGB percentrgb(19.2%, 19.6%, 45.5%)
HSLhsl(239, 41%, 32%)
HSV / HSBhsv(239, 58%, 45%)
CMYKcmyk(58%, 57%, 0%, 55%)
CIE LABlab(24.31, 20.35, -38.28)
CIE LCHlch(24.31, 43.35, 298)
CIE XYZxyz(5.559, 4.195, 17.036)
Decimal3224180
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Dark Slate Blue.

Questions

What color is #313274?
#313274 is a dark, desaturated blue, closest to the named color Good Karma. It belongs to the blue family of colors.
What is the RGB value of #313274?
The RGB value is 49, 50, 116: 49 red, 50 green and 116 blue on a 0 to 255 scale.
What is the complementary color of #313274?
The complementary color is #747331, found by rotating the hue 180° on the color wheel.
Is black or white text better on #313274?
White text. Black text has a contrast ratio of 1.84:1 and white text 11.42:1. WCAG asks for at least 4.5:1 for normal text.