#1F2552 color
The hex color #1F2552 is a dark, desaturated blue.
In the RGB color model it is made of 12.2% red, 14.5% green and 32.2% blue (31, 37, 82).
Its hue angle is 233°, with 45% saturation and 22% lightness. For print, the CMYK equivalent is 62% cyan, 55% magenta, 0% yellow and 68% black.
The closest named color is Spacescape (#222255), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.54:1).
#1F2552 color codes
| HEX | #1F2552 | |
|---|---|---|
| RGB | rgb(31, 37, 82) | |
| RGB percent | rgb(12.2%, 14.5%, 32.2%) | |
| HSL | hsl(233, 45%, 22%) | |
| HSV / HSB | hsv(233, 62%, 32%) | |
| CMYK | cmyk(62%, 55%, 0%, 68%) | |
| CIE LAB | lab(16.62, 12.88, -28.44) | |
| CIE LCH | lch(16.62, 31.23, 294.37) | |
| CIE XYZ | xyz(2.749, 2.223, 8.265) | |
| Decimal | 2041170 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F2552, 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 #1F2552 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.44:1 | Fail | Fail | Fail |
| Sample text | 14.54:1 | Pass | Pass | Pass |
| #1F2552 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.54:1 | Pass | Pass | Pass |
| Sample text | 1.44: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 #1F2552 looks to people with the most common types of color vision deficiency.
#0e2b54Protanopia
no red cones#062751Deuteranopia
no green cones#022f37Tritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #1f2552; }
.text { color: #1f2552; }
.border { border: 2px solid #1f2552; }
.transparent { background-color: rgb(31 37 82 / 50%); }
.gradient { background: linear-gradient(to right, #1f2552, #331f52); }
Similar colors
#222255Spacescape#1d2951Space Cadet#1c1e4dFly-by-Night#112255Dark Soul#2c2c57Deep Sea Base#112358Fibonacci Blue#2a2551Pāua#211d49Azulado
Closest common color name: Oxford Blue.
Questions
- What color is #1F2552?
- #1F2552 is a dark, desaturated blue, closest to the named color Spacescape. It belongs to the blue family of colors.
- What is the RGB value of #1F2552?
- The RGB value is 31, 37, 82: 31 red, 37 green and 82 blue on a 0 to 255 scale.
- What is the complementary color of #1F2552?
- The complementary color is #524C1F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F2552?
- White text. Black text has a contrast ratio of 1.44:1 and white text 14.54:1. WCAG asks for at least 4.5:1 for normal text.