#2F308C color
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 | |
|---|---|---|
| RGB | rgb(47, 48, 140) | |
| RGB percent | rgb(18.4%, 18.8%, 54.9%) | |
| HSL | hsl(239, 50%, 37%) | |
| HSV / HSB | hsv(239, 66%, 55%) | |
| CMYK | cmyk(66%, 66%, 0%, 45%) | |
| CIE LAB | lab(25.6, 29.9, -51.28) | |
| CIE LCH | lch(25.6, 59.36, 300.24) | |
| CIE XYZ | xyz(6.961, 4.611, 25.329) | |
| Decimal | 3092620 | |
| Short hex | None (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 #2F308C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.92:1 | Fail | Fail | Fail |
| Sample text | 10.92:1 | Pass | Pass | Pass |
| #2F308C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.92:1 | Pass | Pass | Pass |
| Sample text | 1.92:1 | Fail | Fail | Fail |
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.
#00418fProtanopia
no red cones#00398aDeuteranopia
no green cones#004859Tritanopia
no blue cones#3d3d3dAchromatopsia
no color vision
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); }
Similar colors
#313390Perfect Dark#2b3191Royal Night#273287Intergalactic Highway#333399Bluebell#2c319bDepths of Night#2d3796Liquid Denim#223382Deep Space Royal#443388Majestic Eggplant
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.