#002066 color
The hex color #002066 is a dark, vivid blue.
In the RGB color model it is made of 0% red, 12.5% green and 40% blue (0, 32, 102).
Its hue angle is 221°, with 100% saturation and 20% lightness. For print, the CMYK equivalent is 100% cyan, 69% magenta, 0% yellow and 60% black.
The closest named color is Midnight Melancholia (#002266), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.02:1).
#002066 color codes
| HEX | #002066 | |
|---|---|---|
| RGB | rgb(0, 32, 102) | |
| RGB percent | rgb(0%, 12.5%, 40%) | |
| HSL | hsl(221, 100%, 20%) | |
| HSV / HSB | hsv(221, 100%, 40%) | |
| CMYK | cmyk(100%, 69%, 0%, 60%) | |
| CIE LAB | lab(15.44, 20.95, -43.76) | |
| CIE LCH | lch(15.44, 48.51, 295.59) | |
| CIE XYZ | xyz(2.914, 1.992, 12.799) | |
| Decimal | 8294 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #002066, 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 #002066 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.4:1 | Fail | Fail | Fail |
| Sample text | 15.02:1 | Pass | Pass | Pass |
| #002066 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.02:1 | Pass | Pass | Pass |
| Sample text | 1.4: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 #002066 looks to people with the most common types of color vision deficiency.
#002b68Protanopia
no red cones#002265Deuteranopia
no green cones#00333fTritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #002066; }
.text { color: #002066; }
.border { border: 2px solid #002066; }
.transparent { background-color: rgb(0 32 102 / 50%); }
.gradient { background: linear-gradient(to right, #002066, #130066); }
Similar colors
#002266Midnight Melancholia#002366Deep Sea Nightmare#082567Dark Sapphire#052462Black Sea Night#112473Midnight Crest#002277Long-Haul Flight#112358Fibonacci Blue#222266Intergalactic Cowboy
Closest common color name: Midnight Blue.
Questions
- What color is #002066?
- #002066 is a dark, vivid blue, closest to the named color Midnight Melancholia. It belongs to the blue family of colors.
- What is the RGB value of #002066?
- The RGB value is 0, 32, 102: 0 red, 32 green and 102 blue on a 0 to 255 scale.
- What is the complementary color of #002066?
- The complementary color is #664600, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #002066?
- White text. Black text has a contrast ratio of 1.4:1 and white text 15.02:1. WCAG asks for at least 4.5:1 for normal text.