#1F2559 color
The hex color #1F2559 is a dark, desaturated blue.
In the RGB color model it is made of 12.2% red, 14.5% green and 34.9% blue (31, 37, 89).
Its hue angle is 234°, with 48% saturation and 24% lightness. For print, the CMYK equivalent is 65% cyan, 58% magenta, 0% yellow and 65% black.
The closest named color is Spacescape (#222255), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.31:1).
#1F2559 color codes
| HEX | #1F2559 | |
|---|---|---|
| RGB | rgb(31, 37, 89) | |
| RGB percent | rgb(12.2%, 14.5%, 34.9%) | |
| HSL | hsl(234, 48%, 24%) | |
| HSV / HSB | hsv(234, 65%, 35%) | |
| CMYK | cmyk(65%, 58%, 0%, 65%) | |
| CIE LAB | lab(17.16, 15.61, -32.28) | |
| CIE LCH | lch(17.16, 35.85, 295.8) | |
| CIE XYZ | xyz(3.029, 2.335, 9.74) | |
| Decimal | 2041177 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F2559, 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 #1F2559 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.47:1 | Fail | Fail | Fail |
| Sample text | 14.31:1 | Pass | Pass | Pass |
| #1F2559 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.31:1 | Pass | Pass | Pass |
| Sample text | 1.47: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 #1F2559 looks to people with the most common types of color vision deficiency.
#042d5bProtanopia
no red cones#002858Deuteranopia
no green cones#00313bTritanopia
no blue cones#2a2a2aAchromatopsia
no color vision
CSS examples
.background { background-color: #1f2559; }
.text { color: #1f2559; }
.border { border: 2px solid #1f2559; }
.transparent { background-color: rgb(31 37 89 / 50%); }
.gradient { background: linear-gradient(to right, #1f2559, #361f59); }
Similar colors
#222255Spacescape#112358Fibonacci Blue#112255Dark Soul#1c1e4dFly-by-Night#1d2951Space Cadet#222266Intergalactic Cowboy#2c2c57Deep Sea Base#2a2551Pāua
Closest common color name: Oxford Blue.
Questions
- What color is #1F2559?
- #1F2559 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 #1F2559?
- The RGB value is 31, 37, 89: 31 red, 37 green and 89 blue on a 0 to 255 scale.
- What is the complementary color of #1F2559?
- The complementary color is #59531F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F2559?
- White text. Black text has a contrast ratio of 1.47:1 and white text 14.31:1. WCAG asks for at least 4.5:1 for normal text.