Warna bernama terdekat · #02141F
#02141F
Warna bernama terdekat: Midnight Edition
#02141F (rgb(2 20 31), hsl(203 88% 6%), oklch(0.181 0.035 235.9)) paling mendekati warna bernama Midnight Edition. Lihat tint, shade, harmoni, kontras WCAG & APCA, serta kode CSS, Tailwind v4, dan SCSS.
#02141F
oklch(0.181 0.035 235.9)
Konversi warna
- HEX
- #02141f
- RGB
- rgb(2 20 31)
- HSL
- hsl(203 88% 6%)
- HWB
- hwb(203 1% 88%)
- OKLCH
- oklch(0.181 0.035 235.9)
- OKLab
- oklab(0.181 -0.019 -0.029)
- CIE Lab
- lab(5.4 -3.42 -9.75)
- LCH
- lch(5.4 10.33 250.7)
- CMYK
- cmyk(94% 35% 0% 88%)
Tint · Shade · Tone
Tint
- 152732
- 2B3C46
- 43515B
- 5B6870
- 747F87
- 8E989D
- A9B0B5
- C5CACD
- E2E4E6
Shade
- 011019
- 010C14
- 01080F
- 00050A
- 000306
- 000103
- 000101
- 000000
- 000000
Tone
- 0C1E28
- 182731
- 24323A
- 303C44
- 3D474D
- 4A5257
- 575D61
- 64686B
- 727476
Harmoni warna
Komplementer +180°
- 02141F
Midnight Edition
- 1D0D03
≈ Crowshead
Analog -30° +30°
- 02141F
Midnight Edition
- 001619
≈ Creeping Death
- 0B1121
≈ Corbeau
Triadik +120° +240°
- 02141F
Midnight Edition
- 1E0B12
≈ Shot in the Dark
- 111403
≈ Chinese Black
Split-komplementer +150° +210°
- 02141F
Midnight Edition
- 1F0B0A
≈ Scandinavian Liquorice
- 191101
≈ Crowshead
Tetradik +90° +180° +270°
- 02141F
Midnight Edition
- 1A0C1A
≈ Shot in the Dark
- 1D0D03
≈ Crowshead
- 071608
≈ Pinch of Pepper
Kontras & aksesibilitas
Ag
AAADi atas putih
WCAG 18.70:1 · APCA Lc 105
Ag
FailDi atas hitam
WCAG 1.12:1 · APCA Lc 0
Warna teks terbaik: #FFFFFF
WCAG 18.70:1 (AAA) · APCA Lc 105
Contrast pairs
Cuplikan kode
CSS
:root {
--midnight-edition: #02141f;
--midnight-edition-rgb: 2 20 31;
--midnight-edition-oklch: oklch(0.181 0.035 235.9);
}
.element {
color: var(--midnight-edition);
background-color: hsl(203 88% 6%);
border-color: oklch(0.181 0.035 235.9);
}Tailwind CSS v4
@theme {
--color-midnight-edition: #02141f;
--color-midnight-edition-50: #ecf7fe;
--color-midnight-edition-100: #deeaf2;
--color-midnight-edition-200: #c7d7e2;
--color-midnight-edition-300: #a8bac7;
--color-midnight-edition-400: #8ca2b0;
--color-midnight-edition-500: #718a9a;
--color-midnight-edition-600: #607582;
--color-midnight-edition-700: #4c5e68;
--color-midnight-edition-800: #37454d;
--color-midnight-edition-900: #252f35;
--color-midnight-edition-950: #141c20;
}SCSS
$midnight-edition: #02141f;
$midnight-edition-rgb: 2, 20, 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);
}