#002266 color

#002266 rgb(0, 34, 102)
Shades of blue

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
RGBrgb(0, 34, 102)
RGB percentrgb(0%, 13.3%, 40%)
HSLhsl(220, 100%, 20%)
HSV / HSBhsv(220, 100%, 40%)
CMYKcmyk(100%, 67%, 0%, 60%)
CIE LABlab(16.02, 19.47, -42.81)
CIE LCHlch(16.02, 47.03, 294.45)
CIE XYZxyz(2.969, 2.103, 12.817)
Decimal8806
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 #002266RatioAAAAAAA large
Sample text1.42:1FailFailFail
Sample text14.78:1PassPassPass
#002266 as text onRatioAAAAAAA large
Sample text14.78:1PassPassPass
Sample text1.42:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.