#302F5F color

#302F5F rgb(48, 47, 95)
Shades of blue

The hex color #302F5F is a dark, desaturated blue.

In the RGB color model it is made of 18.8% red, 18.4% green and 37.3% blue (48, 47, 95).

Its hue angle is 241°, with 34% saturation and 28% lightness. For print, the CMYK equivalent is 49% cyan, 51% magenta, 0% yellow and 63% black.

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

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

#302F5F color codes

HEX#302F5F
RGBrgb(48, 47, 95)
RGB percentrgb(18.8%, 18.4%, 37.3%)
HSLhsl(241, 34%, 28%)
HSV / HSBhsv(241, 51%, 37%)
CMYKcmyk(49%, 51%, 0%, 63%)
CIE LABlab(21.9, 14.81, -28.56)
CIE LCHlch(21.9, 32.17, 297.41)
CIE XYZxyz(4.3, 3.487, 11.271)
Decimal3157855
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #302f5f; }
.text { color: #302f5f; }
.border { border: 2px solid #302f5f; }
.transparent { background-color: rgb(48 47 95 / 50%); }
.gradient { background: linear-gradient(to right, #302f5f, #482f5f); }
Background
Text color
Border

Similar colors

Closest common color name: Oxford Blue.

Questions

What color is #302F5F?
#302F5F 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 #302F5F?
The RGB value is 48, 47, 95: 48 red, 47 green and 95 blue on a 0 to 255 scale.
What is the complementary color of #302F5F?
The complementary color is #5E5F2F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #302F5F?
White text. Black text has a contrast ratio of 1.7:1 and white text 12.37:1. WCAG asks for at least 4.5:1 for normal text.