#1F5299 color
The hex color #1F5299 is a dark, moderate azure.
In the RGB color model it is made of 12.2% red, 32.2% green and 60% blue (31, 82, 153).
Its hue angle is 215°, with 66% saturation and 36% lightness. For print, the CMYK equivalent is 80% cyan, 46% magenta, 0% yellow and 40% black.
The closest named color is Fist of the North Star (#225599), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.71:1).
#1F5299 color codes
| HEX | #1F5299 | |
|---|---|---|
| RGB | rgb(31, 82, 153) | |
| RGB percent | rgb(12.2%, 32.2%, 60%) | |
| HSL | hsl(215, 66%, 36%) | |
| HSV / HSB | hsv(215, 80%, 60%) | |
| CMYK | cmyk(80%, 46%, 0%, 40%) | |
| CIE LAB | lab(35.25, 9.74, -43.64) | |
| CIE LCH | lch(35.25, 44.71, 282.58) | |
| CIE XYZ | xyz(9.33, 8.625, 31.304) | |
| Decimal | 2052761 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #1F5299, 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 #1F5299 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.73:1 | Fail | Fail | Fail |
| Sample text | 7.71:1 | Pass | Pass | Pass |
| #1F5299 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.71:1 | Pass | Pass | Pass |
| Sample text | 2.73: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 #1F5299 looks to people with the most common types of color vision deficiency.
#2c599cProtanopia
no red cones#104e98Deuteranopia
no green cones#00636eTritanopia
no blue cones#535353Achromatopsia
no color vision
CSS examples
.background { background-color: #1f5299; }
.text { color: #1f5299; }
.border { border: 2px solid #1f5299; }
.transparent { background-color: rgb(31 82 153 / 50%); }
.gradient { background: linear-gradient(to right, #1f5299, #291f99); }
Similar colors
#225599Fist of the North Star#1d5699Blue Chip#244e94Le Grand Bleu#1c4d8fDancing Sea#2e5090Nightly Activities#1c4c8cOlympian Blue#234e86Night Mode#2d5284Galaxy Blue
Closest common color name: Sapphire.
Questions
- What color is #1F5299?
- #1F5299 is a dark, moderate azure, closest to the named color Fist of the North Star. It belongs to the blue family of colors.
- What is the RGB value of #1F5299?
- The RGB value is 31, 82, 153: 31 red, 82 green and 153 blue on a 0 to 255 scale.
- What is the complementary color of #1F5299?
- The complementary color is #99661F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #1F5299?
- White text. Black text has a contrast ratio of 2.73:1 and white text 7.71:1. WCAG asks for at least 4.5:1 for normal text.