#02007B color

#02007B rgb(2, 0, 123)
Shades of blue

The hex color #02007B is a dark, vivid blue.

In the RGB color model it is made of 0.8% red, 0% green and 48.2% blue (2, 0, 123).

Its hue angle is 241°, with 100% saturation and 24% lightness. For print, the CMYK equivalent is 98% cyan, 100% magenta, 0% yellow and 52% black.

The closest named color is Navy Blue (#000080), a difference of 0.7 ΔE, which is barely visible.

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

#02007B color codes

HEX#02007B
RGBrgb(2, 0, 123)
RGB percentrgb(0.8%, 0%, 48.2%)
HSLhsl(241, 100%, 24%)
HSV / HSBhsv(241, 100%, 48%)
CMYKcmyk(98%, 100%, 0%, 52%)
CIE LABlab(12.24, 46.19, -62.73)
CIE LCHlch(12.24, 77.9, 306.36)
CIE XYZxyz(3.599, 1.442, 18.824)
Decimal131195
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #02007B, 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 #02007BRatioAAAAAAA large
Sample text1.29:1FailFailFail
Sample text16.3:1PassPassPass
#02007B as text onRatioAAAAAAA large
Sample text16.3:1PassPassPass
Sample text1.29: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 #02007B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #02007b; }
.text { color: #02007b; }
.border { border: 2px solid #02007b; }
.transparent { background-color: rgb(2 0 123 / 50%); }
.gradient { background: linear-gradient(to right, #02007b, #40007b); }
Background
Text color
Border

Similar colors

Questions

What color is #02007B?
#02007B is a dark, vivid blue, closest to the named color Navy Blue. It belongs to the blue family of colors.
What is the RGB value of #02007B?
The RGB value is 2, 0, 123: 2 red, 0 green and 123 blue on a 0 to 255 scale.
What is the complementary color of #02007B?
The complementary color is #797B00, found by rotating the hue 180° on the color wheel.
Is black or white text better on #02007B?
White text. Black text has a contrast ratio of 1.29:1 and white text 16.3:1. WCAG asks for at least 4.5:1 for normal text.