Color
#021B1C
Very dark muted cool teal. Nearest reference color: Eerie black.
RGB
0–255CMYK
0–100%RGB describes how #021B1C is represented with light on digital screens. This color combines red 2, green 27 and blue 28.
CMYK describes the same color using the four components commonly used in printing: cyan 92.86%, magenta 3.57%, yellow 0% and black 89.02%.
HSL values
In the HSL color model, #021B1C has a hue of 182.31°, 86.67% saturation and 5.88% lightness. The sliders below show where this color sits across each of these three dimensions.
Color insight
#021B1C is a very dark, cool teal with muted chroma.
- Temperature
- Cool
- Lightness
- Very dark
- Chroma
- Muted
Color formats
Copy #021B1C in a format ready to use in CSS, design tools or other applications.
#021B1C
rgb(2, 27, 28)
hsl(182.31 86.67% 5.88%)
oklch(0.202908 0.03183 198.5335)
--color: #021B1C;
Tints of #021B1C
Tints are lighter variations of #021B1C. They keep the character of the original color while moving progressively toward a lighter appearance.
Shades of #021B1C
Shades are darker variations of #021B1C. Moving toward black increases visual depth while preserving the underlying hue of the color.
Tones of #021B1C
Tones reduce the chroma of #021B1C, producing quieter and more muted variations without simply making the color lighter or darker.
Tonal range of #021B1C
A continuous light-to-dark scale places #021B1C between its lighter tints and deeper shades.
CSS color scale
Use this tonal range as reusable CSS custom properties.
:root {
--color-100: #D7F6F6;
--color-200: #9BB9B9;
--color-300: #647F80;
--color-400: #304A4B;
--color-500: #021B1C;
--color-600: #001617;
--color-700: #001112;
--color-800: #000C0D;
--color-900: #000808;
}
Colors that go with #021B1C
Color harmonies for #021B1C are generated by rotating its hue in the OKLCH color space while preserving its lightness and chroma. This creates classic complementary, analogous, triadic and other hue relationships with more consistent perceptual balance.
Complementary
Opposite on the color wheel, creating the strongest direct hue contrast.
Triadic
Three evenly spaced hues that create a broader, balanced color relationship.
Split complementary
Two hues around the complementary color, providing contrast with more variation.
CSS gradients with #021B1C
These gradients show how #021B1C moves toward white, black and its complementary color. Each gradient includes ready-to-use CSS that can be copied directly into a project.
Toward white
A light gradient that moves from the original color toward white.
background: linear-gradient(90deg, #021B1C, #394C4D, #768484, #B8C0C0, #FFFFFF);
Toward black
A dark gradient that moves from the original color toward black.
background: linear-gradient(90deg, #021B1C, #010F0F, #000505, #000101, #000000);
Text contrast and accessibility
Contrast determines how clearly text can be distinguished from #021B1C. The values below compare white and black text using WCAG contrast ratios.
Recommended text color: #FFFFFF . Relative luminance: 0.0088 .
Accessible CSS
Use the recommended text color with #021B1C as the background.
background-color: #021B1C;
color: #FFFFFF;
Using #021B1C in design
See how #021B1C works in a simple interface. The examples below use the color as a background, accent and interface element, with text chosen from its accessibility result.
#021B1C used as a full background with its recommended text color.
Use #021B1C to emphasize selected interface elements without filling the entire surface.
Colors similar to #021B1C
These nearby colors are generated from perceptual variations of #021B1C, including changes in lightness, chroma and hue.
Color vision simulation
The simulations below show mathematical approximations of how #021B1C may shift under three forms of color vision deficiency. They are simulations, not a diagnosis or an exact representation of any individual person's vision.
Simulation based on the model by Machado, Oliveira and Fernandes (2009), published in IEEE Transactions on Visualization and Computer Graphics. DOI: 10.1109/TVCG.2009.113.
Advanced color values
Beyond RGB, CMYK and HSL, #021B1C can also be represented in perceptual and device-independent color spaces used in color science and modern design tools.
XYZ
- X
- 0.6265
- Y
- 0.8805
- Z
- 1.2353
CIELAB
- L*
- 7.9538
- a*
- -8.6209
- b*
- -3.6407
OKLab
- L
- 0.202908
- a
- -0.030179
- b
- -0.010118
OKLCH
- L
- 0.202908
- C
- 0.03183
- H
- 198.5335°