#161F21

A color in the Cyan, Emerald family

#161f21 is a color in the Cyan, Emerald family: RGB(22, 31, 33), HSL(191°, 20%, 11%), CMYK(33%, 6%, 0%, 87%). Closest named color: midnightblue. Contrast is 16.77:1 on white and 1.25:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#161f21
RGBrgb(22 31 33)
RGB (legacy)rgb(22, 31, 33)
RGB %rgb(9% 12% 13%)
HSLhsl(191 20% 11%)
HSV / HSBhsv(191, 33%, 13%)
HWBhwb(191 9% 87%)
CMYKcmyk(33%, 6%, 0%, 87%)
CIELAB (D50)lab(10.94 -3.74 -2.77)
LCHlch(10.94 4.66 216.54)
OKLaboklab(0.2314 -0.0114 -0.0073)
OKLCHoklch(0.2314 0.0135 212.77)
Decimal1449761

Properties

Color ToneCyan, Emerald
Closest named colormidnightblue ΔE 14.9
Closest web-safe color#003333
Hue191°
Saturation (HSL / HSV)20% / 33%
Lightness (HSL)11%
Brightness or Value (HSV)13%
Luminance (Rec.601 / Rec.709)11% / 11%
Relative luminance (WCAG)0.0126
Red / Green / Blue22 / 31 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
16.77:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.25: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 103.7 / 0 · As background with white / black text: Lc -106.1 / 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: #161f21;
  --color-brand-oklch: oklch(23.14% 0.0135 212.77);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(22 31 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#161f21] text-[#161f21] border-[#161f21]">