#30317F color

#30317F rgb(48, 49, 127)
Shades of blue

The hex color #30317F is a dark, desaturated blue.

In the RGB color model it is made of 18.8% red, 19.2% green and 49.8% blue (48, 49, 127).

Its hue angle is 239°, with 45% saturation and 34% lightness. For print, the CMYK equivalent is 62% cyan, 61% magenta, 0% yellow and 50% black.

The closest named color is Intergalactic Highway (#273287), a difference of 2 ΔE, a small difference.

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

#30317F color codes

HEX#30317F
RGBrgb(48, 49, 127)
RGB percentrgb(18.8%, 19.2%, 49.8%)
HSLhsl(239, 45%, 34%)
HSV / HSBhsv(239, 62%, 50%)
CMYKcmyk(62%, 61%, 0%, 50%)
CIE LABlab(24.82, 24.76, -44.42)
CIE LCHlch(24.82, 50.86, 299.13)
CIE XYZxyz(6.147, 4.357, 20.592)
Decimal3158399
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #30317f; }
.text { color: #30317f; }
.border { border: 2px solid #30317f; }
.transparent { background-color: rgb(48 49 127 / 50%); }
.gradient { background: linear-gradient(to right, #30317f, #57307f); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Slate Blue.

Questions

What color is #30317F?
#30317F is a dark, desaturated blue, closest to the named color Intergalactic Highway. It belongs to the blue family of colors.
What is the RGB value of #30317F?
The RGB value is 48, 49, 127: 48 red, 49 green and 127 blue on a 0 to 255 scale.
What is the complementary color of #30317F?
The complementary color is #7F7E30, found by rotating the hue 180° on the color wheel.
Is black or white text better on #30317F?
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.