#1F4983 color
The hex color #1F4983 is a dark, moderate azure.
In the RGB color model it is made of 12.2% red, 28.6% green and 51.4% blue (31, 73, 131).
Its hue angle is 215°, with 62% saturation and 32% lightness. For print, the CMYK equivalent is 76% cyan, 44% magenta, 0% yellow and 49% black.
The closest named color is Maritime Outpost (#1E4581), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.98:1).
#1F4983 color codes
| HEX | #1F4983 | |
|---|---|---|
| RGB | rgb(31, 73, 131) | |
| RGB percent | rgb(12.2%, 28.6%, 51.4%) | |
| HSL | hsl(215, 62%, 32%) | |
| HSV / HSB | hsv(215, 76%, 51%) | |
| CMYK | cmyk(76%, 44%, 0%, 49%) | |
| CIE LAB | lab(31.1, 6.99, -36.84) | |
| CIE LCH | lch(31.1, 37.5, 280.74) | |
| CIE XYZ | xyz(7.043, 6.694, 22.389) | |
| Decimal | 2050435 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F4983, 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 #1F4983 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.34:1 | Fail | Fail | Fail |
| Sample text | 8.98:1 | Pass | Pass | Pass |
| #1F4983 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.98:1 | Pass | Pass | Pass |
| Sample text | 2.34: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 #1F4983 looks to people with the most common types of color vision deficiency.
#2d4e85Protanopia
no red cones#1a4582Deuteranopia
no green cones#00575fTritanopia
no blue cones#494949Achromatopsia
no color vision
CSS examples
.background { background-color: #1f4983; }
.text { color: #1f4983; }
.border { border: 2px solid #1f4983; }
.transparent { background-color: rgb(31 73 131 / 50%); }
.gradient { background: linear-gradient(to right, #1f4983, #271f83); }
Similar colors
#1e4581Maritime Outpost#1c4c8cOlympian Blue#234e86Night Mode#25488aPacific Navy#1e488fNuit Blanche#1c4d8fDancing Sea#004488Pacific Depths#2d4f83Assassin
Closest common color name: Cobalt Blue.
Questions
- What color is #1F4983?
- #1F4983 is a dark, moderate azure, closest to the named color Maritime Outpost. It belongs to the blue family of colors.
- What is the RGB value of #1F4983?
- The RGB value is 31, 73, 131: 31 red, 73 green and 131 blue on a 0 to 255 scale.
- What is the complementary color of #1F4983?
- The complementary color is #83591F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F4983?
- White text. Black text has a contrast ratio of 2.34:1 and white text 8.98:1. WCAG asks for at least 4.5:1 for normal text.