#0042B3 color

#0042B3 rgb(0, 66, 179)
Shades of blue

The hex color #0042B3 is a dark, vivid azure.

In the RGB color model it is made of 0% red, 25.9% green and 70.2% blue (0, 66, 179).

Its hue angle is 218°, with 100% saturation and 35% lightness. For print, the CMYK equivalent is 100% cyan, 63% magenta, 0% yellow and 30% black.

The closest named color is Once in a Blue Moon (#0044BB), a difference of 1.2 ΔE, which is barely visible.

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

#0042B3 color codes

HEX#0042B3
RGBrgb(0, 66, 179)
RGB percentrgb(0%, 25.9%, 70.2%)
HSLhsl(218, 100%, 35%)
HSV / HSBhsv(218, 100%, 70%)
CMYKcmyk(100%, 63%, 0%, 30%)
CIE LABlab(32.15, 29.16, -64.28)
CIE LCHlch(32.15, 70.58, 294.4)
CIE XYZxyz(10.082, 7.15, 43.488)
Decimal17075
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #0042B3, 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 #0042B3RatioAAAAAAA large
Sample text2.43:1FailFailFail
Sample text8.64:1PassPassPass
#0042B3 as text onRatioAAAAAAA large
Sample text8.64:1PassPassPass
Sample text2.43: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 #0042B3 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #0042b3; }
.text { color: #0042b3; }
.border { border: 2px solid #0042b3; }
.transparent { background-color: rgb(0 66 179 / 50%); }
.gradient { background: linear-gradient(to right, #0042b3, #1700b3); }
Background
Text color
Border

Similar colors

Questions

What color is #0042B3?
#0042B3 is a dark, vivid azure, closest to the named color Once in a Blue Moon. It belongs to the blue family of colors.
What is the RGB value of #0042B3?
The RGB value is 0, 66, 179: 0 red, 66 green and 179 blue on a 0 to 255 scale.
What is the complementary color of #0042B3?
The complementary color is #B37100, found by rotating the hue 180° on the color wheel.
Is black or white text better on #0042B3?
White text. Black text has a contrast ratio of 2.43:1 and white text 8.64:1. WCAG asks for at least 4.5:1 for normal text.