#151E62 color

#151E62 rgb(21, 30, 98)
Shades of blue

The hex color #151E62 is a dark, moderate blue.

In the RGB color model it is made of 8.2% red, 11.8% green and 38.4% blue (21, 30, 98).

Its hue angle is 233°, with 65% saturation and 23% lightness. For print, the CMYK equivalent is 79% cyan, 69% magenta, 0% yellow and 62% black.

The closest named color is Intergalactic Cowboy (#222266), a difference of 1.9 ΔE, which is barely visible.

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

#151E62 color codes

HEX#151E62
RGBrgb(21, 30, 98)
RGB percentrgb(8.2%, 11.8%, 38.4%)
HSLhsl(233, 65%, 23%)
HSV / HSBhsv(233, 79%, 38%)
CMYKcmyk(79%, 69%, 0%, 62%)
CIE LABlab(15.33, 22.59, -41.28)
CIE LCHlch(15.33, 47.05, 298.69)
CIE XYZxyz(2.977, 1.97, 11.776)
Decimal1384034
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #151e62; }
.text { color: #151e62; }
.border { border: 2px solid #151e62; }
.transparent { background-color: rgb(21 30 98 / 50%); }
.gradient { background: linear-gradient(to right, #151e62, #331562); }
Background
Text color
Border

Similar colors

Questions

What color is #151E62?
#151E62 is a dark, moderate blue, closest to the named color Intergalactic Cowboy. It belongs to the blue family of colors.
What is the RGB value of #151E62?
The RGB value is 21, 30, 98: 21 red, 30 green and 98 blue on a 0 to 255 scale.
What is the complementary color of #151E62?
The complementary color is #625915, found by rotating the hue 180° on the color wheel.
Is black or white text better on #151E62?
White text. Black text has a contrast ratio of 1.39:1 and white text 15.06:1. WCAG asks for at least 4.5:1 for normal text.