#004F9E color

#004F9E rgb(0, 79, 158)
Shades of blue

The hex color #004F9E is a dark, vivid azure.

In the RGB color model it is made of 0% red, 31% green and 62% blue (0, 79, 158).

Its hue angle is 210°, with 100% saturation and 31% lightness. For print, the CMYK equivalent is 100% cyan, 50% magenta, 0% yellow and 38% black.

The closest named color is Dancing Sea (#1C4D8F), a difference of 2.1 ΔE, a small difference.

White text is the more readable choice on this background (contrast 8.04:1).

#004F9E color codes

HEX#004F9E
RGBrgb(0, 79, 158)
RGB percentrgb(0%, 31%, 62%)
HSLhsl(210, 100%, 31%)
HSV / HSBhsv(210, 100%, 62%)
CMYKcmyk(100%, 50%, 0%, 38%)
CIE LABlab(34.11, 11.63, -48.53)
CIE LCHlch(34.11, 49.9, 283.48)
CIE XYZxyz(8.965, 8.059, 33.424)
Decimal20382
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #004F9E, 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 #004F9ERatioAAAAAAA large
Sample text2.61:1FailFailFail
Sample text8.04:1PassPassPass
#004F9E as text onRatioAAAAAAA large
Sample text8.04:1PassPassPass
Sample text2.61: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 #004F9E looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #004f9e; }
.text { color: #004f9e; }
.border { border: 2px solid #004f9e; }
.transparent { background-color: rgb(0 79 158 / 50%); }
.gradient { background: linear-gradient(to right, #004f9e, #00009e); }
Background
Text color
Border

Similar colors

Closest common color name: Cobalt Blue.

Questions

What color is #004F9E?
#004F9E is a dark, vivid azure, closest to the named color Dancing Sea. It belongs to the blue family of colors.
What is the RGB value of #004F9E?
The RGB value is 0, 79, 158: 0 red, 79 green and 158 blue on a 0 to 255 scale.
What is the complementary color of #004F9E?
The complementary color is #9E4F00, found by rotating the hue 180° on the color wheel.
Is black or white text better on #004F9E?
White text. Black text has a contrast ratio of 2.61:1 and white text 8.04:1. WCAG asks for at least 4.5:1 for normal text.