#001AFF color
The hex color #001AFF is a vivid blue.
In the RGB color model it is made of 0% red, 10.2% green and 100% blue (0, 26, 255).
Its hue angle is 234°, with 100% saturation and 50% lightness. For print, the CMYK equivalent is 100% cyan, 90% magenta, 0% yellow and 0% black.
The closest named color is Bluebonnet (#1C1CF0), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.1:1).
#001AFF color codes
| HEX | #001AFF | |
|---|---|---|
| RGB | rgb(0, 26, 255) | |
| RGB percent | rgb(0%, 10.2%, 100%) | |
| HSL | hsl(234, 100%, 50%) | |
| HSV / HSB | hsv(234, 100%, 100%) | |
| CMYK | cmyk(100%, 90%, 0%, 0%) | |
| CIE LAB | lab(33.89, 74.26, -105.19) | |
| CIE LCH | lch(33.89, 128.77, 305.22) | |
| CIE XYZ | xyz(18.413, 7.956, 95.154) | |
| Decimal | 6911 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #001AFF, 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 #001AFF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.59:1 | Fail | Fail | Fail |
| Sample text | 8.1:1 | Pass | Pass | Pass |
| #001AFF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.1:1 | Pass | Pass | Pass |
| Sample text | 2.59: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 #001AFF looks to people with the most common types of color vision deficiency.
#005cffProtanopia
no red cones#0042fcDeuteranopia
no green cones#006e97Tritanopia
no blue cones#505050Achromatopsia
no color vision
CSS examples
.background { background-color: #001aff; }
.text { color: #001aff; }
.border { border: 2px solid #001aff; }
.transparent { background-color: rgb(0 26 255 / 50%); }
.gradient { background: linear-gradient(to right, #001aff, #6500ff); }
Similar colors
#1c1cf0Bluebonnet#0000ffBlue#0020efBlue Overdose#0022eeSlice of Heaven#4411ffBlustering Blue#0011eeMidsummer Nights#4400ffOverdue Blue#152effVivid Blue
Questions
- What color is #001AFF?
- #001AFF is a vivid blue, closest to the named color Bluebonnet. It belongs to the blue family of colors.
- What is the RGB value of #001AFF?
- The RGB value is 0, 26, 255: 0 red, 26 green and 255 blue on a 0 to 255 scale.
- What is the complementary color of #001AFF?
- The complementary color is #FFE500, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #001AFF?
- White text. Black text has a contrast ratio of 2.59:1 and white text 8.1:1. WCAG asks for at least 4.5:1 for normal text.