Nearest named color · #0A1828
#0A1828
Nearest named color: The Count’s Black
#0A1828 (rgb(10 24 40), hsl(212 60% 10%), oklch(0.206 0.038 252.9)) is closest to the named color The Count’s Black. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#0A1828
oklch(0.206 0.038 252.9)
Color conversions
- HEX
- #0a1828
- RGB
- rgb(10 24 40)
- HSL
- hsl(212 60% 10%)
- HWB
- hwb(212 4% 84%)
- OKLCH
- oklch(0.206 0.038 252.9)
- OKLab
- oklab(0.206 -0.011 -0.036)
- CIE Lab
- lab(7.69 -1.33 -12.98)
- LCH
- lch(7.69 13.05 264.2)
- CMYK
- cmyk(75% 40% 0% 84%)
Tints · Shades · Tones
Tints
- 1E2B3B
- 333F4E
- 495562
- 616B77
- 79828C
- 939AA2
- ADB2B9
- C7CBD0
- E3E5E7
Shades
- 071321
- 050F1B
- 030A15
- 02070F
- 010409
- 010204
- 000102
- 000001
- 000000
Tones
- 152130
- 1F2B39
- 2A3541
- 363F4A
- 414953
- 4D545B
- 5A5F64
- 666A6E
- 737577
Color harmonies
Complementary +180°
- 0A1828
The Count’s Black
- 221403
≈ Super Black
Analogous -30° +30°
- 0A1828
The Count’s Black
- 001B24
≈ Creeping Death
- 151528
≈ Sambucus
Triadic +120° +240°
- 0A1828
The Count’s Black
- 261012
≈ Italian Roast
- 101B08
≈ Pinch of Pepper
Split-complementary +150° +210°
- 0A1828
The Count’s Black
- 251109
≈ Severely Burnt Toast
- 1A1803
≈ Noir Mystique
Tetradic +90° +180° +270°
- 0A1828
The Count’s Black
- 23101C
≈ Inside
- 221403
≈ Super Black
- 041D12
≈ Clock Chimes Thirteen
Contrast & accessibility
Ag
AAAOn white
WCAG 17.88:1 · APCA Lc 105
Ag
FailOn black
WCAG 1.17:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.88:1 (AAA) · APCA Lc 105
Contrast pairs
Code snippets
CSS
:root {
--the-count-s-black: #0a1828;
--the-count-s-black-rgb: 10 24 40;
--the-count-s-black-oklch: oklch(0.206 0.038 252.9);
}
.element {
color: var(--the-count-s-black);
background-color: hsl(212 60% 10%);
border-color: oklch(0.206 0.038 252.9);
}Tailwind CSS v4
@theme {
--color-the-count-s-black: #0a1828;
--color-the-count-s-black-50: #eef6ff;
--color-the-count-s-black-100: #e0e9f5;
--color-the-count-s-black-200: #cad5e5;
--color-the-count-s-black-300: #abb9cb;
--color-the-count-s-black-400: #8fa0b5;
--color-the-count-s-black-500: #75889f;
--color-the-count-s-black-600: #637386;
--color-the-count-s-black-700: #4f5c6c;
--color-the-count-s-black-800: #39444f;
--color-the-count-s-black-900: #272f37;
--color-the-count-s-black-950: #151b22;
}SCSS
$the-count-s-black: #0a1828;
$the-count-s-black-rgb: 10, 24, 40;
$the-count-s-black-light: mix(#fff, $the-count-s-black, 20%);
$the-count-s-black-dark: mix(#000, $the-count-s-black, 20%);
.element {
color: $the-count-s-black;
box-shadow: 0 0 0 2px rgba($the-count-s-black, 0.35);
}