Nearest named color · #0B142A
#0B142A
Nearest named color: Void
#0B142A (rgb(11 20 42), hsl(223 58% 10%), oklch(0.196 0.046 265.6)) is closest to the named color Void. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#0B142A
oklch(0.196 0.046 265.6)
Color conversions
- HEX
- #0b142a
- RGB
- rgb(11 20 42)
- HSL
- hsl(223 58% 10%)
- HWB
- hwb(223 4% 84%)
- OKLCH
- oklch(0.196 0.046 265.6)
- OKLab
- oklab(0.196 -0.004 -0.046)
- CIE Lab
- lab(6.47 2.26 -16.36)
- LCH
- lch(6.47 16.52 277.9)
- CMYK
- cmyk(74% 52% 0% 84%)
Tints · Shades · Tones
Tints
- 1E283D
- 333C50
- 495264
- 616879
- 79808E
- 9298A4
- ACB1BA
- C7CAD0
- E3E4E8
Shades
- 081023
- 060C1C
- 040816
- 020510
- 01030A
- 010105
- 000102
- 000001
- 000000
Tones
- 151E32
- 1F283B
- 2A3243
- 363C4C
- 414754
- 4D525D
- 595D65
- 66696E
- 737477
Color harmonies
Complementary +180°
- 0B142A
Void
- 1D1300
≈ Super Black
Analogous -30° +30°
- 0B142A
Void
- 001825
≈ Creeping Death
- 171028
≈ Corbeau
Triadic +120° +240°
- 0B142A
Void
- 270B0A
≈ Root Brew
- 061A07
≈ Pinch of Pepper
Split-complementary +150° +210°
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAAOn white
WCAG 18.29:1 · APCA Lc 105
Ag
FailOn black
WCAG 1.14:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 18.29:1 (AAA) · APCA Lc 105
Contrast pairs
Code snippets
CSS
:root {
--void: #0b142a;
--void-rgb: 11 20 42;
--void-oklch: oklch(0.196 0.046 265.6);
}
.element {
color: var(--void);
background-color: hsl(223 58% 10%);
border-color: oklch(0.196 0.046 265.6);
}Tailwind CSS v4
@theme {
--color-void: #0b142a;
--color-void-50: #eff5ff;
--color-void-100: #e1e8f8;
--color-void-200: #cbd4e9;
--color-void-300: #adb7d0;
--color-void-400: #919ebb;
--color-void-500: #7786a6;
--color-void-600: #65718c;
--color-void-700: #515b70;
--color-void-800: #3a4253;
--color-void-900: #282e3a;
--color-void-950: #161b24;
}SCSS
$void: #0b142a;
$void-rgb: 11, 20, 42;
$void-light: mix(#fff, $void, 20%);
$void-dark: mix(#000, $void, 20%);
.element {
color: $void;
box-shadow: 0 0 0 2px rgba($void, 0.35);
}