#312F61 color

#312F61 rgb(49, 47, 97)
Shades of blue

The hex color #312F61 is a dark, desaturated blue.

In the RGB color model it is made of 19.2% red, 18.4% green and 38% blue (49, 47, 97).

Its hue angle is 242°, with 35% saturation and 28% lightness. For print, the CMYK equivalent is 49% cyan, 52% magenta, 0% yellow and 62% black.

The closest named color is Galaxea (#2E305E), a difference of 1.3 ΔE, which is barely visible.

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

#312F61 color codes

HEX#312F61
RGBrgb(49, 47, 97)
RGB percentrgb(19.2%, 18.4%, 38%)
HSLhsl(242, 35%, 28%)
HSV / HSBhsv(242, 52%, 38%)
CMYKcmyk(49%, 52%, 0%, 62%)
CIE LABlab(22.12, 15.77, -29.52)
CIE LCHlch(22.12, 33.46, 298.11)
CIE XYZxyz(4.44, 3.549, 11.758)
Decimal3223393
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #312f61; }
.text { color: #312f61; }
.border { border: 2px solid #312f61; }
.transparent { background-color: rgb(49 47 97 / 50%); }
.gradient { background: linear-gradient(to right, #312f61, #4a2f61); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

What color is #312F61?
#312F61 is a dark, desaturated blue, closest to the named color Galaxea. It belongs to the blue family of colors.
What is the RGB value of #312F61?
The RGB value is 49, 47, 97: 49 red, 47 green and 97 blue on a 0 to 255 scale.
What is the complementary color of #312F61?
The complementary color is #5F612F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #312F61?
White text. Black text has a contrast ratio of 1.71:1 and white text 12.28:1. WCAG asks for at least 4.5:1 for normal text.