#00128B color
The hex color #00128B is a dark, vivid blue.
In the RGB color model it is made of 0% red, 7.1% green and 54.5% blue (0, 18, 139).
Its hue angle is 232°, with 100% saturation and 27% lightness. For print, the CMYK equivalent is 100% cyan, 87% magenta, 0% yellow and 45% black.
The closest named color is Galactic Cruise (#111188), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.39:1).
#00128B color codes
| HEX | #00128B | |
|---|---|---|
| RGB | rgb(0, 18, 139) | |
| RGB percent | rgb(0%, 7.1%, 54.5%) | |
| HSL | hsl(232, 100%, 27%) | |
| HSV / HSB | hsv(232, 100%, 55%) | |
| CMYK | cmyk(100%, 87%, 0%, 45%) | |
| CIE LAB | lab(16.97, 43.66, -64.98) | |
| CIE LCH | lch(16.97, 78.28, 303.9) | |
| CIE XYZ | xyz(4.875, 2.296, 24.607) | |
| Decimal | 4747 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #00128B, 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 #00128B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.46:1 | Fail | Fail | Fail |
| Sample text | 14.39:1 | Pass | Pass | Pass |
| #00128B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.39:1 | Pass | Pass | Pass |
| Sample text | 1.46: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 #00128B looks to people with the most common types of color vision deficiency.
#00318eProtanopia
no red cones#002289Deuteranopia
no green cones#003b51Tritanopia
no blue cones#2a2a2aAchromatopsia
no color vision
CSS examples
.background { background-color: #00128b; }
.text { color: #00128b; }
.border { border: 2px solid #00128b; }
.transparent { background-color: rgb(0 18 139 / 50%); }
.gradient { background: linear-gradient(to right, #00128b, #34008b); }
Similar colors
#111188Galactic Cruise#0c1793Royal#120a8fUltramarine#001199Space Exploration#221188Nightly Expedition#00008bDark Blue#000088Midnight in Tokyo#000099Everlasting Night
Questions
- What color is #00128B?
- #00128B is a dark, vivid blue, closest to the named color Galactic Cruise. It belongs to the blue family of colors.
- What is the RGB value of #00128B?
- The RGB value is 0, 18, 139: 0 red, 18 green and 139 blue on a 0 to 255 scale.
- What is the complementary color of #00128B?
- The complementary color is #8B7900, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #00128B?
- White text. Black text has a contrast ratio of 1.46:1 and white text 14.39:1. WCAG asks for at least 4.5:1 for normal text.