#021A13

A color in the Cyan, Emerald family

#021a13 is a color in the Cyan, Emerald family: RGB(2, 26, 19), HSL(163°, 86%, 5%), CMYK(92%, 0%, 27%, 90%). Closest named color: midnightblue. Contrast is 18.11:1 on white and 1.16:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#021a13
RGBrgb(2 26 19)
RGB (legacy)rgb(2, 26, 19)
RGB %rgb(1% 10% 7%)
HSLhsl(163 86% 5%)
HSV / HSBhsv(163, 92%, 10%)
HWBhwb(163 1% 90%)
CMYKcmyk(92%, 0%, 27%, 90%)
CIELAB (D50)lab(7.17 -10 1.67)
LCHlch(7.17 10.14 170.51)
OKLaboklab(0.1955 -0.0345 0.0052)
OKLCHoklch(0.1955 0.0349 171.44)
Decimal137747

Properties

Color ToneCyan, Emerald
Closest named colormidnightblue ΔE 18
Closest web-safe color#003300
Hue163°
Saturation (HSL / HSV)86% / 92%
Lightness (HSL)5%
Brightness or Value (HSV)10%
Luminance (Rec.601 / Rec.709)7% / 8%
Relative luminance (WCAG)0.008
Red / Green / Blue2 / 26 / 19

WCAG 2.2 Contrast Ratio

On White (#ffffff)
18.11:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.16:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 104.7 / 0 · As background with white / black text: Lc -106.9 / 0

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #021a13;
  --color-brand-oklch: oklch(19.55% 0.0349 171.44);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(2 26 19 / 50%); }
/* Tailwind CSS */
<div class="bg-[#021a13] text-[#021a13] border-[#021a13]">