Nearest named color · #001F28
#001F28
Nearest named color: Black Box
#001F28 (rgb(0 31 40), hsl(194 100% 8%), oklch(0.221 0.04 220.6)) is closest to the named color Black Box. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#001F28
oklch(0.221 0.04 220.6)
Color conversions
- HEX
- #001f28
- RGB
- rgb(0 31 40)
- HSL
- hsl(194 100% 8%)
- HWB
- hwb(194 0% 84%)
- OKLCH
- oklch(0.221 0.04 220.6)
- OKLab
- oklab(0.221 -0.031 -0.026)
- CIE Lab
- lab(9.88 -9.03 -9.64)
- LCH
- lch(9.88 13.21 226.9)
- CMYK
- cmyk(100% 22% 0% 84%)
Tints · Shades · Tones
Tints
- 17323A
- 2E464E
- 455B62
- 5E7077
- 77868C
- 919DA2
- ABB5B8
- C6CDD0
- E2E6E7
Shades
- 001921
- 00141B
- 000F15
- 000A0F
- 000609
- 000304
- 000102
- 000001
- 000000
Tones
- 0C2830
- 193138
- 263A41
- 32444A
- 3F4D52
- 4B575B
- 586164
- 656B6D
- 737677
Color harmonies
Complementary +180°
- 001F28
Black Box
- 2B140C
≈ Zinnwaldite Brown
Analogous -30° +30°
- 001F28
Black Box
- 00201F
≈ Stellar Explorer
- 0B1C2D
≈ Trapped Darkness
Triadic +120° +240°
- 001F28
Black Box
- 271321
≈ Inside
- 1F1B03
≈ Noir Mystique
Split-complementary +150° +210°
- 001F28
Black Box
- 2B1216
≈ Dark Danger
- 271704
≈ Cannon Black
Tetradic +90° +180° +270°
- 001F28
Black Box
- 211529
≈ Inside
- 2B140C
≈ Zinnwaldite Brown
- 141F0A
≈ Nightmare
Contrast & accessibility
Ag
AAAOn white
WCAG 17.12:1 · APCA Lc 104
Ag
FailOn black
WCAG 1.22:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.12:1 (AAA) · APCA Lc 104
Contrast pairs
Code snippets
CSS
:root {
--black-box: #001f28;
--black-box-rgb: 0 31 40;
--black-box-oklch: oklch(0.221 0.04 220.6);
}
.element {
color: var(--black-box);
background-color: hsl(194 100% 8%);
border-color: oklch(0.221 0.04 220.6);
}Tailwind CSS v4
@theme {
--color-black-box: #001f28;
--color-black-box-50: #e9f8fe;
--color-black-box-100: #daebf2;
--color-black-box-200: #c2d9e1;
--color-black-box-300: #a2bcc7;
--color-black-box-400: #85a4af;
--color-black-box-500: #688d99;
--color-black-box-600: #597781;
--color-black-box-700: #475f68;
--color-black-box-800: #33464c;
--color-black-box-900: #223035;
--color-black-box-950: #111d20;
}SCSS
$black-box: #001f28;
$black-box-rgb: 0, 31, 40;
$black-box-light: mix(#fff, $black-box, 20%);
$black-box-dark: mix(#000, $black-box, 20%);
.element {
color: $black-box;
box-shadow: 0 0 0 2px rgba($black-box, 0.35);
}