#0021CC color
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 | |
|---|---|---|
| RGB | rgb(0, 33, 204) | |
| RGB percent | rgb(0%, 12.9%, 80%) | |
| HSL | hsl(230, 100%, 40%) | |
| HSV / HSB | hsv(230, 100%, 80%) | |
| CMYK | cmyk(100%, 84%, 0%, 20%) | |
| CIE LAB | lab(27.97, 57.34, -85.91) | |
| CIE LCH | lch(27.97, 103.29, 303.72) | |
| CIE XYZ | xyz(11.439, 5.446, 57.563) | |
| Decimal | 8652 | |
| Short hex | None (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 #0021CC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.09:1 | Fail | Fail | Fail |
| Sample text | 10.05:1 | Pass | Pass | Pass |
| #0021CC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.05:1 | Pass | Pass | Pass |
| Sample text | 2.09:1 | Fail | Fail | Fail |
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.
#004cd1Protanopia
no red cones#0037c9Deuteranopia
no green cones#005a7aTritanopia
no blue cones#424242Achromatopsia
no color vision
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); }
Similar colors
#1f22d2Lapis on Neptune#0022ddBrutally Blue#2425b9Sapphire Splendour#010fccTrue Blue#0203e2Pure Blue#0000cdMedium Blue#0011bbToo Dark Tonight#3311bbGalactic Highway
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.