Cor nomeada mais próxima · #02045E
#02045E
Cor nomeada mais próxima: Alone in the Dark
#02045E (rgb(2 4 94), hsl(239 96% 19%), oklch(0.224 0.146 265.3)) é mais próxima da cor nomeada Alone in the Dark. Veja tons claros, sombras, harmonias, contraste WCAG e APCA e código CSS, Tailwind v4 e SCSS.
#02045E
oklch(0.224 0.146 265.3)
Conversões de cor
- HEX
- #02045e
- RGB
- rgb(2 4 94)
- HSL
- hsl(239 96% 19%)
- HWB
- hwb(239 1% 63%)
- OKLCH
- oklch(0.224 0.146 265.3)
- OKLab
- oklab(0.224 -0.012 -0.146)
- CIE Lab
- lab(7.04 30.19 -52.18)
- LCH
- lch(7.04 60.28 300)
- CMYK
- cmyk(98% 96% 0% 63%)
Tons claros · Sombras · Tons
Tons claros
- 0D256F
- 233D80
- 3B5490
- 546CA0
- 6F83B0
- 8A9BC0
- A6B4D0
- C3CCE0
- E1E5F0
Sombras
- 010351
- 010244
- 010137
- 00012B
- 00011F
- 000014
- 00000A
- 000003
- 000000
Tons
- 051863
- 102667
- 1D336B
- 2A3E6F
- 374A73
- 455576
- 546079
- 626A7C
- 71757E
Harmonias de cor
Complementar +180°
- 02045E
Alone in the Dark
- 251A00
≈ Cannon Black
Análoga -30° +30°
- 02045E
Alone in the Dark
- 001F2F
≈ Cyanophobia
- 23004D
≈ Crowberry
Tríade +120° +240°
- 02045E
Alone in the Dark
- 3C0003
≈ Dark Maroon
- 002304
≈ Rainforest Nights
Complementar dividida +150° +210°
- 02045E
Alone in the Dark
- 2F1300
≈ Shadow Play
- 1B1E00
≈ Liquorice Root
Tétrade +90° +180° +270°
- 02045E
Alone in the Dark
- 39001D
≈ Rhodophobia
- 251A00
≈ Cannon Black
- 00221B
≈ Stellar Explorer
Contraste e acessibilidade
Ag
AAASobre branco
WCAG 17.77:1 · APCA Lc 103
Ag
FailSobre preto
WCAG 1.18:1 · APCA Lc 0
Melhor cor de texto: #FFFFFF
WCAG 17.77:1 (AAA) · APCA Lc 103
Contrast pairs
Trechos de código
CSS
:root {
--alone-in-the-dark: #02045e;
--alone-in-the-dark-rgb: 2 4 94;
--alone-in-the-dark-oklch: oklch(0.224 0.146 265.3);
}
.element {
color: var(--alone-in-the-dark);
background-color: hsl(239 96% 19%);
border-color: oklch(0.224 0.146 265.3);
}Tailwind CSS v4
@theme {
--color-alone-in-the-dark: #02045e;
--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: #96b5ff;
--color-alone-in-the-dark-400: #749bf5;
--color-alone-in-the-dark-500: #5680e6;
--color-alone-in-the-dark-600: #496dc2;
--color-alone-in-the-dark-700: #3a579c;
--color-alone-in-the-dark-800: #274075;
--color-alone-in-the-dark-900: #1a2c52;
--color-alone-in-the-dark-950: #0b1937;
}SCSS
$alone-in-the-dark: #02045e;
$alone-in-the-dark-rgb: 2, 4, 94;
$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);
}