#1C1918

A color in the Black, Gray, White family

#1c1918 is a color in the Black, Gray, White family: RGB(28, 25, 24), HSL(15°, 8%, 10%), CMYK(0%, 11%, 14%, 89%). Closest named color: midnightblue. Contrast is 17.48:1 on white and 1.2:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#1c1918
RGBrgb(28 25 24)
RGB (legacy)rgb(28, 25, 24)
RGB %rgb(11% 10% 9%)
HSLhsl(15 8% 10%)
HSV / HSBhsv(15, 14%, 11%)
HWBhwb(15 9% 89%)
CMYKcmyk(0%, 11%, 14%, 89%)
CIELAB (D50)lab(9.08 1.35 1.27)
LCHlch(9.08 1.85 43.18)
OKLaboklab(0.2165 0.004 0.0033)
OKLCHoklch(0.2165 0.0051 39.38)
Decimal1841432

Properties

Color ToneBlack, Gray, White
Closest named colormidnightblue ΔE 16.3
Closest web-safe color#330000
Hue15°
Saturation (HSL / HSV)8% / 14%
Lightness (HSL)10%
Brightness or Value (HSV)11%
Luminance (Rec.601 / Rec.709)10% / 10%
Relative luminance (WCAG)0.0101
Red / Green / Blue28 / 25 / 24

WCAG 2.2 Contrast Ratio

On White (#ffffff)
17.48:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.20: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.3 / 0 · As background with white / black text: Lc -106.6 / 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: #1c1918;
  --color-brand-oklch: oklch(21.65% 0.0051 39.38);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(28 25 24 / 50%); }
/* Tailwind CSS */
<div class="bg-[#1c1918] text-[#1c1918] border-[#1c1918]">