Slice of Heaven color: hex code #0022EE

#0022EE rgb(0, 34, 238)
Shades of blue

Slice of Heaven has the hex code #0022EE. It is a vivid blue.

In the RGB color model it is made of 0% red, 13.3% green and 93.3% blue (0, 34, 238).

Its hue angle is 231°, with 100% saturation and 47% lightness. For print, the CMYK equivalent is 100% cyan, 86% magenta, 0% yellow and 7% black.

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

Slice of Heaven (#0022EE) color codes

HEX#0022EE
RGBrgb(0, 34, 238)
RGB percentrgb(0%, 13.3%, 93.3%)
HSLhsl(231, 100%, 47%)
HSV / HSBhsv(231, 100%, 93%)
CMYKcmyk(100%, 86%, 0%, 7%)
CIE LABlab(32.51, 66.96, -97.9)
CIE LCHlch(32.51, 118.61, 304.37)
CIE XYZxyz(15.999, 7.315, 81.441)
Decimal8942
Short hex#02E

Color harmonies

Colors that go with Slice of Heaven, 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 #0022EERatioAAAAAAA large
Sample text2.46:1FailFailFail
Sample text8.52:1PassPassPass
#0022EE as text onRatioAAAAAAA large
Sample text8.52:1PassPassPass
Sample text2.46: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 #0022EE looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #0022ee; }
.text { color: #0022ee; }
.border { border: 2px solid #0022ee; }
.transparent { background-color: rgb(0 34 238 / 50%); }
.gradient { background: linear-gradient(to right, #0022ee, #5500ee); }
Background
Text color
Border

Similar colors

See #0022EE on its hex code page

Questions

What color is #0022EE?
#0022EE is a vivid blue known as Slice of Heaven. It belongs to the blue family of colors.
What is the RGB value of Slice of Heaven?
The RGB value is 0, 34, 238: 0 red, 34 green and 238 blue on a 0 to 255 scale.
What is the complementary color of Slice of Heaven?
The complementary color is #EECC00, found by rotating the hue 180° on the color wheel.
Is black or white text better on #0022EE?
White text. Black text has a contrast ratio of 2.46:1 and white text 8.52:1. WCAG asks for at least 4.5:1 for normal text.