Skip to content

#0D1828

≈ black · rgb(13, 24, 40)
Color formats
HEX#0D1828
RGBrgb(13, 24, 40)
HSLhsl(216, 51%, 10%)
HSVhsv(216, 68%, 16%)
OKLCHoklch(21% 0.04 258)
CMYKcmyk(67%, 40%, 0%, 84%)
Contrast & accessibility
On white17.82:1AA pass
On black1.18:1below AA
Best text color#FFFFFF
Nearest CSS name: black
Copy-ready code
CSS custom properties
:root {
  --black: #0d1828;
  --black-rgb: 13 24 40;
  --black-oklch: oklch(21% 0.04 258);
}
The space-separated triple lets you set alpha without a second variable:
background: rgb(var(--black-rgb) / 40%);
Tailwind (arbitrary value)
bg-[#0d1828] text-[#0d1828] border-[#0d1828]
Shades & tints
50
#DCE0E7
100
#C0C9D7
200
#839ABB
300
#496B9D
400
#284166
500
#0D1828
600
#0C1523
700
#0B131D
800
#0A1018
900
#090D14
950
#080C11
Color harmonies
Complementary
#281D0D
Analogous −30°
#0D2628
Analogous +30°
#0F0D28
Triadic +120°
#280D18
Triadic −120°
#18280D
About this color

#0D1828 is a color with the RGB value rgb(13, 24, 40). Its closest CSS named color is "black". On this page you'll find every format (HEX, RGB, HSL, HSV, OKLCH, CMYK), WCAG contrast against white and black, a full 50–950 shade scale, and complementary, analogous and triadic harmonies — each linking to its own color page.

Related

Convert #0D1828 to other formats

Palettes with a similar color

Gradients with a similar color

✓ Copied