Warna bernama terdekat · #08121F
#08121F
Warna bernama terdekat: Midnight Edition
#08121F (rgb(8 18 31), hsl(214 59% 8%), oklch(0.18 0.031 255.2)) paling mendekati warna bernama Midnight Edition. Lihat tint, shade, harmoni, kontras WCAG & APCA, serta kode CSS, Tailwind v4, dan SCSS.
#08121F
oklch(0.18 0.031 255.2)
Konversi warna
- HEX
- #08121f
- RGB
- rgb(8 18 31)
- HSL
- hsl(214 59% 8%)
- HWB
- hwb(214 3% 88%)
- OKLCH
- oklch(0.18 0.031 255.2)
- OKLab
- oklab(0.18 -0.008 -0.03)
- CIE Lab
- lab(5.16 -0.62 -10.08)
- LCH
- lch(5.16 10.1 266.5)
- CMYK
- cmyk(74% 42% 0% 88%)
Tint · Shade · Tone
Tint
- 1B2532
- 303A46
- 474F5B
- 5F6670
- 777E87
- 91969E
- ABB0B5
- C7C9CD
- E2E4E6
Shade
- 060E19
- 040A14
- 03070F
- 02040A
- 010206
- 010103
- 000101
- 000000
- 000000
Tone
- 121C28
- 1D2631
- 28303A
- 343B44
- 40464D
- 4C5157
- 585C61
- 65686B
- 737476
Harmoni warna
Komplementer +180°
- 08121F
Midnight Edition
- 190F03
≈ Crowshead
Analog -30° +30°
- 08121F
Midnight Edition
- 02141C
≈ Midnight Edition
- 100F1F
≈ Corbeau
Triadik +120° +240°
- 08121F
Midnight Edition
- 1D0C0D
≈ Scandinavian Liquorice
- 0B1507
≈ Pinch of Pepper
Split-komplementer +150° +210°
- 08121F
Midnight Edition
- 1D0D06
≈ Crowshead
- 141203
≈ Chinese Black
Tetradik +90° +180° +270°
- 08121F
Midnight Edition
- 1B0C15
≈ Shot in the Dark
- 190F03
≈ Crowshead
- 03160E
≈ Jedi Night
Kontras & aksesibilitas
Ag
AAADi atas putih
WCAG 18.80:1 · APCA Lc 105
Ag
FailDi atas hitam
WCAG 1.11:1 · APCA Lc 0
Warna teks terbaik: #FFFFFF
WCAG 18.80:1 (AAA) · APCA Lc 105
Contrast pairs
Cuplikan kode
CSS
:root {
--midnight-edition: #08121f;
--midnight-edition-rgb: 8 18 31;
--midnight-edition-oklch: oklch(0.18 0.031 255.2);
}
.element {
color: var(--midnight-edition);
background-color: hsl(214 59% 8%);
border-color: oklch(0.18 0.031 255.2);
}Tailwind CSS v4
@theme {
--color-midnight-edition: #08121f;
--color-midnight-edition-50: #f0f6fe;
--color-midnight-edition-100: #e1e8f2;
--color-midnight-edition-200: #ccd5e2;
--color-midnight-edition-300: #aeb8c8;
--color-midnight-edition-400: #93a0b1;
--color-midnight-edition-500: #79889b;
--color-midnight-edition-600: #667383;
--color-midnight-edition-700: #525c69;
--color-midnight-edition-800: #3b434d;
--color-midnight-edition-900: #282e36;
--color-midnight-edition-950: #161b21;
}SCSS
$midnight-edition: #08121f;
$midnight-edition-rgb: 8, 18, 31;
$midnight-edition-light: mix(#fff, $midnight-edition, 20%);
$midnight-edition-dark: mix(#000, $midnight-edition, 20%);
.element {
color: $midnight-edition;
box-shadow: 0 0 0 2px rgba($midnight-edition, 0.35);
}