#005188 color
The hex color #005188 is a dark, vivid azure.
In the RGB color model it is made of 0% red, 31.8% green and 53.3% blue (0, 81, 136).
Its hue angle is 204°, with 100% saturation and 27% lightness. For print, the CMYK equivalent is 100% cyan, 40% magenta, 0% yellow and 47% black.
The closest named color is Dark Denim (#005588), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.29:1).
#005188 color codes
| HEX | #005188 | |
|---|---|---|
| RGB | rgb(0, 81, 136) | |
| RGB percent | rgb(0%, 31.8%, 53.3%) | |
| HSL | hsl(204, 100%, 27%) | |
| HSV / HSB | hsv(204, 100%, 53%) | |
| CMYK | cmyk(100%, 40%, 0%, 47%) | |
| CIE LAB | lab(33.27, 0.99, -36.5) | |
| CIE LCH | lch(33.27, 36.51, 271.56) | |
| CIE XYZ | xyz(7.385, 7.661, 24.377) | |
| Decimal | 20872 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #005188, 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 #005188 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.53:1 | Fail | Fail | Fail |
| Sample text | 8.29:1 | Pass | Pass | Pass |
| #005188 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.29:1 | Pass | Pass | Pass |
| Sample text | 2.53: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 #005188 looks to people with the most common types of color vision deficiency.
#35548aProtanopia
no red cones#204987Deuteranopia
no green cones#005e66Tritanopia
no blue cones#4e4e4eAchromatopsia
no color vision
CSS examples
.background { background-color: #005188; }
.text { color: #005188; }
.border { border: 2px solid #005188; }
.transparent { background-color: rgb(0 81 136 / 50%); }
.gradient { background: linear-gradient(to right, #005188, #000d88); }
Similar colors
#005588Dark Denim#015482Grand Bleu#00507aSea Paint#005784Beyond the Sea#1d5699Blue Chip#234e86Night Mode#2d517cSlumber#1c4d8fDancing Sea
Closest common color name: Cobalt Blue.
Questions
- What color is #005188?
- #005188 is a dark, vivid azure, closest to the named color Dark Denim. It belongs to the blue family of colors.
- What is the RGB value of #005188?
- The RGB value is 0, 81, 136: 0 red, 81 green and 136 blue on a 0 to 255 scale.
- What is the complementary color of #005188?
- The complementary color is #883700, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #005188?
- White text. Black text has a contrast ratio of 2.53:1 and white text 8.29:1. WCAG asks for at least 4.5:1 for normal text.