#0021CC color

#0021CC rgb(0, 33, 204)
Shades of blue

The hex color #0021CC is a vivid blue.

In the RGB color model it is made of 0% red, 12.9% green and 80% blue (0, 33, 204).

Its hue angle is 230°, with 100% saturation and 40% lightness. For print, the CMYK equivalent is 100% cyan, 84% magenta, 0% yellow and 20% black.

The closest named color is Lapis on Neptune (#1F22D2), a difference of 1.4 ΔE, which is barely visible.

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

#0021CC color codes

HEX#0021CC
RGBrgb(0, 33, 204)
RGB percentrgb(0%, 12.9%, 80%)
HSLhsl(230, 100%, 40%)
HSV / HSBhsv(230, 100%, 80%)
CMYKcmyk(100%, 84%, 0%, 20%)
CIE LABlab(27.97, 57.34, -85.91)
CIE LCHlch(27.97, 103.29, 303.72)
CIE XYZxyz(11.439, 5.446, 57.563)
Decimal8652
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #0021CC, 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 #0021CCRatioAAAAAAA large
Sample text2.09:1FailFailFail
Sample text10.05:1PassPassPass
#0021CC as text onRatioAAAAAAA large
Sample text10.05:1PassPassPass
Sample text2.09: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 #0021CC looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #0021cc; }
.text { color: #0021cc; }
.border { border: 2px solid #0021cc; }
.transparent { background-color: rgb(0 33 204 / 50%); }
.gradient { background: linear-gradient(to right, #0021cc, #4500cc); }
Background
Text color
Border

Similar colors

Questions

What color is #0021CC?
#0021CC is a vivid blue, closest to the named color Lapis on Neptune. It belongs to the blue family of colors.
What is the RGB value of #0021CC?
The RGB value is 0, 33, 204: 0 red, 33 green and 204 blue on a 0 to 255 scale.
What is the complementary color of #0021CC?
The complementary color is #CCAB00, found by rotating the hue 180° on the color wheel.
Is black or white text better on #0021CC?
White text. Black text has a contrast ratio of 2.09:1 and white text 10.05:1. WCAG asks for at least 4.5:1 for normal text.