#031938 color

#031938 rgb(3, 25, 56)
Shades of black

The hex color #031938 is a very dark, vivid azure.

In the RGB color model it is made of 1.2% red, 9.8% green and 22% blue (3, 25, 56).

Its hue angle is 215°, with 90% saturation and 12% lightness. For print, the CMYK equivalent is 95% cyan, 55% magenta, 0% yellow and 78% black.

The closest named color is Naval Night (#011C39), a difference of 2 ΔE, a small difference.

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

#031938 color codes

HEX#031938
RGBrgb(3, 25, 56)
RGB percentrgb(1.2%, 9.8%, 22%)
HSLhsl(215, 90%, 12%)
HSV / HSBhsv(215, 95%, 22%)
CMYKcmyk(95%, 55%, 0%, 78%)
CIE LABlab(8.99, 5.33, -22.7)
CIE LCHlch(8.99, 23.32, 283.22)
CIE XYZxyz(1.099, 1, 3.876)
Decimal203064
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #031938, 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 #031938RatioAAAAAAA large
Sample text1.2:1FailFailFail
Sample text17.5:1PassPassPass
#031938 as text onRatioAAAAAAA large
Sample text17.5:1PassPassPass
Sample text1.2: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 #031938 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #031938; }
.text { color: #031938; }
.border { border: 2px solid #031938; }
.transparent { background-color: rgb(3 25 56 / 50%); }
.gradient { background: linear-gradient(to right, #031938, #080338); }
Background
Text color
Border

Similar colors

Questions

What color is #031938?
#031938 is a very dark, vivid azure, closest to the named color Naval Night. It belongs to the black family of colors.
What is the RGB value of #031938?
The RGB value is 3, 25, 56: 3 red, 25 green and 56 blue on a 0 to 255 scale.
What is the complementary color of #031938?
The complementary color is #382203, found by rotating the hue 180° on the color wheel.
Is black or white text better on #031938?
White text. Black text has a contrast ratio of 1.2:1 and white text 17.5:1. WCAG asks for at least 4.5:1 for normal text.