#003F9A color
The hex color #003F9A is a dark, vivid azure.
In the RGB color model it is made of 0% red, 24.7% green and 60.4% blue (0, 63, 154).
Its hue angle is 215°, with 100% saturation and 30% lightness. For print, the CMYK equivalent is 100% cyan, 59% magenta, 0% yellow and 40% black.
The closest named color is Cobalt Blue (#0047AB), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.64:1).
#003F9A color codes
| HEX | #003F9A | |
|---|---|---|
| RGB | rgb(0, 63, 154) | |
| RGB percent | rgb(0%, 24.7%, 60.4%) | |
| HSL | hsl(215, 100%, 30%) | |
| HSV / HSB | hsv(215, 100%, 60%) | |
| CMYK | cmyk(100%, 59%, 0%, 40%) | |
| CIE LAB | lab(29.13, 20.98, -54.19) | |
| CIE LCH | lch(29.13, 58.11, 291.16) | |
| CIE XYZ | xyz(7.608, 5.887, 31.301) | |
| Decimal | 16282 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #003F9A, 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 #003F9A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.18:1 | Fail | Fail | Fail |
| Sample text | 9.64:1 | Pass | Pass | Pass |
| #003F9A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.64:1 | Pass | Pass | Pass |
| Sample text | 2.18: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 #003F9A looks to people with the most common types of color vision deficiency.
#004b9dProtanopia
no red cones#003e98Deuteranopia
no green cones#005666Tritanopia
no blue cones#454545Achromatopsia
no color vision
CSS examples
.background { background-color: #003f9a; }
.text { color: #003f9a; }
.border { border: 2px solid #003f9a; }
.transparent { background-color: rgb(0 63 154 / 50%); }
.gradient { background: linear-gradient(to right, #003f9a, #0e009a); }
Similar colors
#0047abCobalt Blue#234893Cascade Twilight#1e488fNuit Blanche#004488Pacific Depths#25488aPacific Navy#003399Smalt#003388One Minute to Midnight#0044bbOnce in a Blue Moon
Questions
- What color is #003F9A?
- #003F9A is a dark, vivid azure, closest to the named color Cobalt Blue. It belongs to the blue family of colors.
- What is the RGB value of #003F9A?
- The RGB value is 0, 63, 154: 0 red, 63 green and 154 blue on a 0 to 255 scale.
- What is the complementary color of #003F9A?
- The complementary color is #9A5B00, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #003F9A?
- White text. Black text has a contrast ratio of 2.18:1 and white text 9.64:1. WCAG asks for at least 4.5:1 for normal text.