#151E21

A color in the Cyan, Emerald family

#151e21 is a color in the Cyan, Emerald family: RGB(21, 30, 33), HSL(195°, 22%, 11%), CMYK(36%, 9%, 0%, 87%). Closest named color: midnightblue. Contrast is 16.94:1 on white and 1.24:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#151e21
RGBrgb(21 30 33)
RGB (legacy)rgb(21, 30, 33)
RGB %rgb(8% 12% 13%)
HSLhsl(195 22% 11%)
HSV / HSBhsv(195, 36%, 13%)
HWBhwb(195 8% 87%)
CMYKcmyk(36%, 9%, 0%, 87%)
CIELAB (D50)lab(10.48 -3.51 -3.46)
LCHlch(10.48 4.93 224.62)
OKLaboklab(0.2276 -0.0109 -0.0092)
OKLCHoklch(0.2276 0.0142 220.24)
Decimal1383969

Properties

Color ToneCyan, Emerald
Closest named colormidnightblue ΔE 14.8
Closest web-safe color#003333
Hue195°
Saturation (HSL / HSV)22% / 36%
Lightness (HSL)11%
Brightness or Value (HSV)13%
Luminance (Rec.601 / Rec.709)11% / 11%
Relative luminance (WCAG)0.012
Red / Green / Blue21 / 30 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
16.94:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.24: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.9 / 0 · As background with white / black text: Lc -106.2 / 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: #151e21;
  --color-brand-oklch: oklch(22.76% 0.0142 220.24);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(21 30 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#151e21] text-[#151e21] border-[#151e21]">