#00336B color
The hex color #00336B is a dark, vivid azure.
In the RGB color model it is made of 0% red, 20% green and 42% blue (0, 51, 107).
Its hue angle is 211°, with 100% saturation and 21% lightness. For print, the CMYK equivalent is 100% cyan, 52% magenta, 0% yellow and 58% black.
The closest named color is Neptune’s Dream (#003368), a difference of 0.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.46:1).
#00336B color codes
| HEX | #00336B | |
|---|---|---|
| RGB | rgb(0, 51, 107) | |
| RGB percent | rgb(0%, 20%, 42%) | |
| HSL | hsl(211, 100%, 21%) | |
| HSV / HSB | hsv(211, 100%, 42%) | |
| CMYK | cmyk(100%, 52%, 0%, 58%) | |
| CIE LAB | lab(21.68, 9.08, -36.85) | |
| CIE LCH | lch(21.68, 37.95, 283.85) | |
| CIE XYZ | xyz(3.837, 3.429, 14.367) | |
| Decimal | 13163 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #00336B, 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 #00336B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.69:1 | Fail | Fail | Fail |
| Sample text | 12.46:1 | Pass | Pass | Pass |
| #00336B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.46:1 | Pass | Pass | Pass |
| Sample text | 1.69: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 #00336B looks to people with the most common types of color vision deficiency.
#0f396dProtanopia
no red cones#00306aDeuteranopia
no green cones#00414aTritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #00336b; }
.text { color: #00336b; }
.border { border: 2px solid #00336b; }
.transparent { background-color: rgb(0 51 107 / 50%); }
.gradient { background: linear-gradient(to right, #00336b, #03006b); }
Similar colors
#003368Neptune’s Dream#03386aLost in Space#13336fAtlantic Navy#042e60Marine#003b6fTardis Blue#1c3378Twilight Express#1c2e63Mythical Night#1b416fAegean Blue
Closest common color name: Prussian Blue.
Questions
- What color is #00336B?
- #00336B is a dark, vivid azure, closest to the named color Neptune’s Dream. It belongs to the blue family of colors.
- What is the RGB value of #00336B?
- The RGB value is 0, 51, 107: 0 red, 51 green and 107 blue on a 0 to 255 scale.
- What is the complementary color of #00336B?
- The complementary color is #6B3800, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #00336B?
- White text. Black text has a contrast ratio of 1.69:1 and white text 12.46:1. WCAG asks for at least 4.5:1 for normal text.