#002266 color
The hex color #002266 is a dark, vivid blue.
In the RGB color model it is made of 0% red, 13.3% green and 40% blue (0, 34, 102).
Its hue angle is 220°, with 100% saturation and 20% lightness. For print, the CMYK equivalent is 100% cyan, 67% magenta, 0% yellow and 60% black.
This exact color is also called Midnight Melancholia.
White text is the more readable choice on this background (contrast 14.78:1).
#002266 color codes
| HEX | #002266 | |
|---|---|---|
| RGB | rgb(0, 34, 102) | |
| RGB percent | rgb(0%, 13.3%, 40%) | |
| HSL | hsl(220, 100%, 20%) | |
| HSV / HSB | hsv(220, 100%, 40%) | |
| CMYK | cmyk(100%, 67%, 0%, 60%) | |
| CIE LAB | lab(16.02, 19.47, -42.81) | |
| CIE LCH | lch(16.02, 47.03, 294.45) | |
| CIE XYZ | xyz(2.969, 2.103, 12.817) | |
| Decimal | 8806 | |
| Short hex | #026 |
Color harmonies
Colors that go with #002266, 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 #002266 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.42:1 | Fail | Fail | Fail |
| Sample text | 14.78:1 | Pass | Pass | Pass |
| #002266 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.78:1 | Pass | Pass | Pass |
| Sample text | 1.42: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 #002266 looks to people with the most common types of color vision deficiency.
#002d68Protanopia
no red cones#002365Deuteranopia
no green cones#003440Tritanopia
no blue cones#282828Achromatopsia
no color vision
CSS examples
.background { background-color: #002266; }
.text { color: #002266; }
.border { border: 2px solid #002266; }
.transparent { background-color: rgb(0 34 102 / 50%); }
.gradient { background: linear-gradient(to right, #002266, #110066); }
Similar colors
#002366Deep Sea Nightmare#082567Dark Sapphire#052462Black Sea Night#112473Midnight Crest#112358Fibonacci Blue#002277Long-Haul Flight#112255Dark Soul#012253Subnautical
Closest common color name: Midnight Blue.
Questions
- What color is #002266?
- #002266 is a dark, vivid blue known as Midnight Melancholia. It belongs to the blue family of colors.
- What is the RGB value of #002266?
- The RGB value is 0, 34, 102: 0 red, 34 green and 102 blue on a 0 to 255 scale.
- What is the complementary color of #002266?
- The complementary color is #664400, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #002266?
- White text. Black text has a contrast ratio of 1.42:1 and white text 14.78:1. WCAG asks for at least 4.5:1 for normal text.