Nearest named color · #0C0C4E
#0C0C4E
Nearest named color: Silent Twilight
#0C0C4E (rgb(12 12 78), hsl(240 73% 18%), oklch(0.218 0.115 271.6)) is closest to the named color Silent Twilight. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#0C0C4E
oklch(0.218 0.115 271.6)
Color conversions
- HEX
- #0c0c4e
- RGB
- rgb(12 12 78)
- HSL
- hsl(240 73% 18%)
- HWB
- hwb(240 5% 69%)
- OKLCH
- oklch(0.218 0.115 271.6)
- OKLab
- oklab(0.218 0.003 -0.115)
- CIE Lab
- lab(7.29 21.35 -40.84)
- LCH
- lch(7.29 46.09 297.6)
- CMYK
- cmyk(85% 85% 0% 69%)
Tints · Shades · Tones
Tints
- 1C2560
- 303C71
- 465383
- 5E6A95
- 7681A6
- 9099B8
- ABB2CA
- C6CBDB
- E2E5ED
Shades
- 090943
- 060638
- 04042D
- 030323
- 020219
- 01010F
- 000007
- 000002
- 000000
Tones
- 141A54
- 1D275A
- 28325F
- 333D65
- 3F486A
- 4B536F
- 585E73
- 656978
- 72757C
Color harmonies
Complementary +180°
- 0C0C4E
Silent Twilight
- 221900
≈ Cannon Black
Analogous -30° +30°
- 0C0C4E
Silent Twilight
- 001C30
≈ Oxford by Night
- 250045
≈ Your Darkness
Triadic +120° +240°
- 0C0C4E
Silent Twilight
- 380300
≈ 3AM Breakup
- 00210B
≈ Clock Chimes Thirteen
Split-complementary +150° +210°
- 0C0C4E
Silent Twilight
- 2A1400
≈ Shadow Play
- 161E00
≈ Yuzu Soy
Tetradic +90° +180° +270°
- 0C0C4E
Silent Twilight
- 370017
≈ Rhodophobia
- 221900
≈ Cannon Black
- 00201B
≈ Stellar Explorer
Contrast & accessibility
Ag
AAAOn white
WCAG 17.82:1 · APCA Lc 104
Ag
FailOn black
WCAG 1.17:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.82:1 (AAA) · APCA Lc 104
Contrast pairs
Code snippets
CSS
:root {
--silent-twilight: #0c0c4e;
--silent-twilight-rgb: 12 12 78;
--silent-twilight-oklch: oklch(0.218 0.115 271.6);
}
.element {
color: var(--silent-twilight);
background-color: hsl(240 73% 18%);
border-color: oklch(0.218 0.115 271.6);
}Tailwind CSS v4
@theme {
--color-silent-twilight: #0c0c4e;
--color-silent-twilight-50: #eaf4ff;
--color-silent-twilight-100: #dbe6ff;
--color-silent-twilight-200: #c4d2ff;
--color-silent-twilight-300: #a4b4f3;
--color-silent-twilight-400: #869ae3;
--color-silent-twilight-500: #6b80d2;
--color-silent-twilight-600: #5b6cb1;
--color-silent-twilight-700: #48578e;
--color-silent-twilight-800: #33406a;
--color-silent-twilight-900: #222c4b;
--color-silent-twilight-950: #121931;
}SCSS
$silent-twilight: #0c0c4e;
$silent-twilight-rgb: 12, 12, 78;
$silent-twilight-light: mix(#fff, $silent-twilight, 20%);
$silent-twilight-dark: mix(#000, $silent-twilight, 20%);
.element {
color: $silent-twilight;
box-shadow: 0 0 0 2px rgba($silent-twilight, 0.35);
}