#042245 color

#042245 rgb(4, 34, 69)
Shades of blue

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

In the RGB color model it is made of 1.6% red, 13.3% green and 27.1% blue (4, 34, 69).

Its hue angle is 212°, with 89% saturation and 14% lightness. For print, the CMYK equivalent is 94% cyan, 51% magenta, 0% yellow and 73% black.

The closest named color is Oxford Blue (#002147), a difference of 0.8 ΔE, which is barely visible.

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

#042245 color codes

HEX#042245
RGBrgb(4, 34, 69)
RGB percentrgb(1.6%, 13.3%, 27.1%)
HSLhsl(212, 89%, 14%)
HSV / HSBhsv(212, 94%, 27%)
CMYKcmyk(94%, 51%, 0%, 73%)
CIE LABlab(13.23, 4.68, -25.07)
CIE LCHlch(13.23, 25.5, 280.57)
CIE XYZxyz(1.696, 1.599, 5.848)
Decimal270917
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #042245; }
.text { color: #042245; }
.border { border: 2px solid #042245; }
.transparent { background-color: rgb(4 34 69 / 50%); }
.gradient { background: linear-gradient(to right, #042245, #060445); }
Background
Text color
Border

Similar colors

Questions

What color is #042245?
#042245 is a very dark, vivid azure, closest to the named color Oxford Blue. It belongs to the blue family of colors.
What is the RGB value of #042245?
The RGB value is 4, 34, 69: 4 red, 34 green and 69 blue on a 0 to 255 scale.
What is the complementary color of #042245?
The complementary color is #452704, found by rotating the hue 180° on the color wheel.
Is black or white text better on #042245?
White text. Black text has a contrast ratio of 1.32:1 and white text 15.91:1. WCAG asks for at least 4.5:1 for normal text.