#001A5A color
The hex color #001A5A is a very dark, vivid blue.
In the RGB color model it is made of 0% red, 10.2% green and 35.3% blue (0, 26, 90).
Its hue angle is 223°, with 100% saturation and 18% lightness. For print, the CMYK equivalent is 100% cyan, 71% magenta, 0% yellow and 65% black.
The closest named color is Midnight Melancholia (#002266), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.21:1).
#001A5A color codes
| HEX | #001A5A | |
|---|---|---|
| RGB | rgb(0, 26, 90) | |
| RGB percent | rgb(0%, 10.2%, 35.3%) | |
| HSL | hsl(223, 100%, 18%) | |
| HSV / HSB | hsv(223, 100%, 35%) | |
| CMYK | cmyk(100%, 71%, 0%, 65%) | |
| CIE LAB | lab(12.46, 20.13, -40.68) | |
| CIE LCH | lch(12.46, 45.39, 296.33) | |
| CIE XYZ | xyz(2.214, 1.477, 9.839) | |
| Decimal | 6746 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #001A5A, 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 #001A5A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.3:1 | Fail | Fail | Fail |
| Sample text | 16.21:1 | Pass | Pass | Pass |
| #001A5A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.21:1 | Pass | Pass | Pass |
| Sample text | 1.3: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 #001A5A looks to people with the most common types of color vision deficiency.
#00255cProtanopia
no red cones#001c59Deuteranopia
no green cones#002c37Tritanopia
no blue cones#202020Achromatopsia
no color vision
CSS examples
.background { background-color: #001a5a; }
.text { color: #001a5a; }
.border { border: 2px solid #001a5a; }
.transparent { background-color: rgb(0 26 90 / 50%); }
.gradient { background: linear-gradient(to right, #001a5a, #13005a); }
Similar colors
#002266Midnight Melancholia#001155Interstellar Blue#002366Deep Sea Nightmare#052462Black Sea Night#112358Fibonacci Blue#112255Dark Soul#082567Dark Sapphire#012253Subnautical
Closest common color name: Midnight Blue.
Questions
- What color is #001A5A?
- #001A5A is a very dark, vivid blue, closest to the named color Midnight Melancholia. It belongs to the blue family of colors.
- What is the RGB value of #001A5A?
- The RGB value is 0, 26, 90: 0 red, 26 green and 90 blue on a 0 to 255 scale.
- What is the complementary color of #001A5A?
- The complementary color is #5A4000, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #001A5A?
- White text. Black text has a contrast ratio of 1.3:1 and white text 16.21:1. WCAG asks for at least 4.5:1 for normal text.