Nearest named color · #140C25
#140C25
Nearest named color: Mysterious Depths
#140C25 (rgb(20 12 37), hsl(259 51% 10%), oklch(0.181 0.05 295.8)) is closest to the named color Mysterious Depths. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#140C25
oklch(0.181 0.05 295.8)
Color conversions
- HEX
- #140c25
- RGB
- rgb(20 12 37)
- HSL
- hsl(259 51% 10%)
- HWB
- hwb(259 5% 85%)
- OKLCH
- oklch(0.181 0.05 295.8)
- OKLab
- oklab(0.181 0.022 -0.045)
- CIE Lab
- lab(4.8 8.03 -15.12)
- LCH
- lch(4.8 17.12 298)
- CMYK
- cmyk(46% 68% 0% 85%)
Tints · Shades · Tones
Tints
- 272038
- 3B354C
- 504B60
- 676275
- 7E7B8B
- 9794A1
- B0ADB8
- CAC8CF
- E4E3E7
Shades
- 10091F
- 0C0619
- 080413
- 05030D
- 030208
- 010104
- 010002
- 000000
- 000000
Tones
- 1D162E
- 272136
- 312C3F
- 3B3748
- 464351
- 514E5A
- 5C5A64
- 68676D
- 747376
Color harmonies
Complementary +180°
- 140C25
Mysterious Depths
- 111400
≈ Chinese Black
Analogous -30° +30°
- 140C25
Mysterious Depths
- 071028
≈ Void
- 1D091D
≈ Meški Black
Triadic +120° +240°
- 140C25
Mysterious Depths
- 200B00
≈ Super Black
- 001711
≈ Jedi Night
Split-complementary +150° +210°
- 140C25
Mysterious Depths
- 191000
≈ Chinese Black
- 021704
≈ Oil Slick
Tetradic +90° +180° +270°
- 140C25
Mysterious Depths
- 240706
≈ Sepia Black
- 111400
≈ Chinese Black
- 001618
≈ Black Glaze
Contrast & accessibility
Ag
AAAOn white
WCAG 18.93:1 · APCA Lc 105
Ag
FailOn black
WCAG 1.10:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 18.93:1 (AAA) · APCA Lc 105
Contrast pairs
Code snippets
CSS
:root {
--mysterious-depths: #140c25;
--mysterious-depths-rgb: 20 12 37;
--mysterious-depths-oklch: oklch(0.181 0.05 295.8);
}
.element {
color: var(--mysterious-depths);
background-color: hsl(259 51% 10%);
border-color: oklch(0.181 0.05 295.8);
}Tailwind CSS v4
@theme {
--color-mysterious-depths: #140c25;
--color-mysterious-depths-50: #f6f2ff;
--color-mysterious-depths-100: #e9e5f7;
--color-mysterious-depths-200: #d6d0e7;
--color-mysterious-depths-300: #bab2ce;
--color-mysterious-depths-400: #a099b9;
--color-mysterious-depths-500: #8980a4;
--color-mysterious-depths-600: #746c8b;
--color-mysterious-depths-700: #5c576f;
--color-mysterious-depths-800: #433f52;
--color-mysterious-depths-900: #2e2c39;
--color-mysterious-depths-950: #1b1924;
}SCSS
$mysterious-depths: #140c25;
$mysterious-depths-rgb: 20, 12, 37;
$mysterious-depths-light: mix(#fff, $mysterious-depths, 20%);
$mysterious-depths-dark: mix(#000, $mysterious-depths, 20%);
.element {
color: $mysterious-depths;
box-shadow: 0 0 0 2px rgba($mysterious-depths, 0.35);
}