#00217D color
The hex color #00217D is a dark, vivid blue.
In the RGB color model it is made of 0% red, 12.9% green and 49% blue (0, 33, 125).
Its hue angle is 224°, with 100% saturation and 25% lightness. For print, the CMYK equivalent is 100% cyan, 74% magenta, 0% yellow and 51% black.
The closest named color is Long-Haul Flight (#002277), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.87:1).
#00217D color codes
| HEX | #00217D | |
|---|---|---|
| RGB | rgb(0, 33, 125) | |
| RGB percent | rgb(0%, 12.9%, 49%) | |
| HSL | hsl(224, 100%, 25%) | |
| HSV / HSB | hsv(224, 100%, 49%) | |
| CMYK | cmyk(100%, 74%, 0%, 51%) | |
| CIE LAB | lab(18.22, 29.88, -54.06) | |
| CIE LCH | lch(18.22, 61.76, 298.93) | |
| CIE XYZ | xyz(4.244, 2.568, 19.67) | |
| Decimal | 8573 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #00217D, 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 #00217D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.51:1 | Fail | Fail | Fail |
| Sample text | 13.87:1 | Pass | Pass | Pass |
| #00217D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.87:1 | Pass | Pass | Pass |
| Sample text | 1.51: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 #00217D looks to people with the most common types of color vision deficiency.
#003280Protanopia
no red cones#00277bDeuteranopia
no green cones#003b4cTritanopia
no blue cones#2c2c2cAchromatopsia
no color vision
CSS examples
.background { background-color: #00217d; }
.text { color: #00217d; }
.border { border: 2px solid #00217d; }
.transparent { background-color: rgb(0 33 125 / 50%); }
.gradient { background: linear-gradient(to right, #00217d, #1d007d); }
Similar colors
#002277Long-Haul Flight#002489Lost in Heaven#072688Naval Adventures#112473Midnight Crest#191970Midnight Blue#19197020000 Leagues Under the Sea#002266Midnight Melancholia#002299Space Dust
Questions
- What color is #00217D?
- #00217D is a dark, vivid blue, closest to the named color Long-Haul Flight. It belongs to the blue family of colors.
- What is the RGB value of #00217D?
- The RGB value is 0, 33, 125: 0 red, 33 green and 125 blue on a 0 to 255 scale.
- What is the complementary color of #00217D?
- The complementary color is #7D5C00, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #00217D?
- White text. Black text has a contrast ratio of 1.51:1 and white text 13.87:1. WCAG asks for at least 4.5:1 for normal text.