#2F308C color

#2F308C rgb(47, 48, 140)
Shades of blue

The hex color #2F308C is a dark, desaturated blue.

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

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

The closest named color is Perfect Dark (#313390), a difference of 1 ΔE, which is barely visible.

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

#2F308C color codes

HEX#2F308C
RGBrgb(47, 48, 140)
RGB percentrgb(18.4%, 18.8%, 54.9%)
HSLhsl(239, 50%, 37%)
HSV / HSBhsv(239, 66%, 55%)
CMYKcmyk(66%, 66%, 0%, 45%)
CIE LABlab(25.6, 29.9, -51.28)
CIE LCHlch(25.6, 59.36, 300.24)
CIE XYZxyz(6.961, 4.611, 25.329)
Decimal3092620
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #2F308C, 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 #2F308CRatioAAAAAAA large
Sample text1.92:1FailFailFail
Sample text10.92:1PassPassPass
#2F308C as text onRatioAAAAAAA large
Sample text10.92:1PassPassPass
Sample text1.92: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 #2F308C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #2f308c; }
.text { color: #2f308c; }
.border { border: 2px solid #2f308c; }
.transparent { background-color: rgb(47 48 140 / 50%); }
.gradient { background: linear-gradient(to right, #2f308c, #5d2f8c); }
Background
Text color
Border

Similar colors

Closest common color name: Egyptian Blue.

Questions

What color is #2F308C?
#2F308C is a dark, desaturated blue, closest to the named color Perfect Dark. It belongs to the blue family of colors.
What is the RGB value of #2F308C?
The RGB value is 47, 48, 140: 47 red, 48 green and 140 blue on a 0 to 255 scale.
What is the complementary color of #2F308C?
The complementary color is #8C8B2F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #2F308C?
White text. Black text has a contrast ratio of 1.92:1 and white text 10.92:1. WCAG asks for at least 4.5:1 for normal text.