Lapis on Neptune color: hex code #1F22D2

#1F22D2 rgb(31, 34, 210)
Shades of blue

Lapis on Neptune has the hex code #1F22D2. It is a moderate blue.

In the RGB color model it is made of 12.2% red, 13.3% green and 82.4% blue (31, 34, 210).

Its hue angle is 239°, with 74% saturation and 47% lightness. For print, the CMYK equivalent is 85% cyan, 84% magenta, 0% yellow and 18% black.

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

Lapis on Neptune (#1F22D2) color codes

HEX#1F22D2
RGBrgb(31, 34, 210)
RGB percentrgb(12.2%, 13.3%, 82.4%)
HSLhsl(239, 74%, 47%)
HSV / HSBhsv(239, 85%, 82%)
CMYKcmyk(85%, 84%, 0%, 18%)
CIE LABlab(29.63, 59.38, -86.62)
CIE LCHlch(29.63, 105.01, 304.43)
CIE XYZxyz(12.766, 6.087, 61.462)
Decimal2040530
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Lapis on Neptune, 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 #1F22D2RatioAAAAAAA large
Sample text2.22:1FailFailFail
Sample text9.47:1PassPassPass
#1F22D2 as text onRatioAAAAAAA large
Sample text9.47:1PassPassPass
Sample text2.22: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 #1F22D2 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #1f22d2; }
.text { color: #1f22d2; }
.border { border: 2px solid #1f22d2; }
.transparent { background-color: rgb(31 34 210 / 50%); }
.gradient { background: linear-gradient(to right, #1f22d2, #751fd2); }
Background
Text color
Border

Similar colors

Closest common color name: Medium Blue.

See #1F22D2 on its hex code page

Questions

What color is #1F22D2?
#1F22D2 is a moderate blue known as Lapis on Neptune. It belongs to the blue family of colors.
What is the RGB value of Lapis on Neptune?
The RGB value is 31, 34, 210: 31 red, 34 green and 210 blue on a 0 to 255 scale.
What is the complementary color of Lapis on Neptune?
The complementary color is #D2CF1F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #1F22D2?
White text. Black text has a contrast ratio of 2.22:1 and white text 9.47:1. WCAG asks for at least 4.5:1 for normal text.