Warna bernama terdekat · #030161
#030161
Warna bernama terdekat: Alone in the Dark
#030161 (rgb(3 1 97), hsl(241 98% 19%), oklch(0.226 0.152 265.7)) paling mendekati warna bernama Alone in the Dark. Lihat tint, shade, harmoni, kontras WCAG & APCA, serta kode CSS, Tailwind v4, dan SCSS.
#030161
oklch(0.226 0.152 265.7)
Konversi warna
- HEX
- #030161
- RGB
- rgb(3 1 97)
- HSL
- hsl(241 98% 19%)
- HWB
- hwb(241 0% 62%)
- OKLCH
- oklch(0.226 0.152 265.7)
- OKLab
- oklab(0.226 -0.011 -0.152)
- CIE Lab
- lab(6.93 32.87 -54.38)
- LCH
- lch(6.93 63.54 301.2)
- CMYK
- cmyk(97% 99% 0% 62%)
Tint · Shade · Tone
Tint
- 0D2472
- 233D82
- 3B5493
- 546CA3
- 6E83B2
- 8A9BC2
- A6B4D1
- C3CCE1
- E1E5F0
Shade
- 020153
- 020146
- 010039
- 01002D
- 000021
- 000015
- 00000B
- 000003
- 000000
Tone
- 061765
- 10266A
- 1D326E
- 2A3E71
- 374A75
- 455578
- 53607A
- 626A7D
- 71757E
Harmoni warna
Komplementer +180°
- 030161
Alone in the Dark
- 261A00
≈ Cannon Black
Analog -30° +30°
- 030161
Alone in the Dark
- 001F2F
≈ Cyanophobia
- 24004D
≈ Crowberry
Triadik +120° +240°
- 030161
Alone in the Dark
- 3D0003
≈ Charred Brown
- 002405
≈ Tides of Darkness
Split-komplementer +150° +210°
- 030161
Alone in the Dark
- 2F1400
≈ Shadow Play
- 1B1E00
≈ Liquorice Root
Tetradik +90° +180° +270°
- 030161
Alone in the Dark
- 39001D
≈ Rhodophobia
- 261A00
≈ Cannon Black
- 00221B
≈ Stellar Explorer
Kontras & aksesibilitas
Ag
AAADi atas putih
WCAG 17.78:1 · APCA Lc 103
Ag
FailDi atas hitam
WCAG 1.18:1 · APCA Lc 0
Warna teks terbaik: #FFFFFF
WCAG 17.78:1 (AAA) · APCA Lc 103
Contrast pairs
Cuplikan kode
CSS
:root {
--alone-in-the-dark: #030161;
--alone-in-the-dark-rgb: 3 1 97;
--alone-in-the-dark-oklch: oklch(0.226 0.152 265.7);
}
.element {
color: var(--alone-in-the-dark);
background-color: hsl(241 98% 19%);
border-color: oklch(0.226 0.152 265.7);
}Tailwind CSS v4
@theme {
--color-alone-in-the-dark: #030161;
--color-alone-in-the-dark-50: #e2f5ff;
--color-alone-in-the-dark-100: #d2e7ff;
--color-alone-in-the-dark-200: #b8d3ff;
--color-alone-in-the-dark-300: #95b4ff;
--color-alone-in-the-dark-400: #739af8;
--color-alone-in-the-dark-500: #557fea;
--color-alone-in-the-dark-600: #496cc5;
--color-alone-in-the-dark-700: #3a569f;
--color-alone-in-the-dark-800: #264076;
--color-alone-in-the-dark-900: #192c54;
--color-alone-in-the-dark-950: #0a1938;
}SCSS
$alone-in-the-dark: #030161;
$alone-in-the-dark-rgb: 3, 1, 97;
$alone-in-the-dark-light: mix(#fff, $alone-in-the-dark, 20%);
$alone-in-the-dark-dark: mix(#000, $alone-in-the-dark, 20%);
.element {
color: $alone-in-the-dark;
box-shadow: 0 0 0 2px rgba($alone-in-the-dark, 0.35);
}