#00128B color

#00128B rgb(0, 18, 139)
Shades of blue

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
RGBrgb(0, 18, 139)
RGB percentrgb(0%, 7.1%, 54.5%)
HSLhsl(232, 100%, 27%)
HSV / HSBhsv(232, 100%, 55%)
CMYKcmyk(100%, 87%, 0%, 45%)
CIE LABlab(16.97, 43.66, -64.98)
CIE LCHlch(16.97, 78.28, 303.9)
CIE XYZxyz(4.875, 2.296, 24.607)
Decimal4747
Short hexNone (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 #00128BRatioAAAAAAA large
Sample text1.46:1FailFailFail
Sample text14.39:1PassPassPass
#00128B as text onRatioAAAAAAA large
Sample text14.39:1PassPassPass
Sample text1.46: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 #00128B looks to people with the most common types of color vision deficiency.

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

Similar colors

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.