Cor nomeada mais próxima · #040E4E
#040E4E
Cor nomeada mais próxima: Interstellar Blue
#040E4E (rgb(4 14 78), hsl(232 90% 16%), oklch(0.217 0.116 266.3)) é mais próxima da cor nomeada Interstellar Blue. Veja tons claros, sombras, harmonias, contraste WCAG e APCA e código CSS, Tailwind v4 e SCSS.
#040E4E
oklch(0.217 0.116 266.3)
Conversões de cor
- HEX
- #040e4e
- RGB
- rgb(4 14 78)
- HSL
- hsl(232 90% 16%)
- HWB
- hwb(232 2% 69%)
- OKLCH
- oklch(0.217 0.116 266.3)
- OKLab
- oklab(0.217 -0.007 -0.115)
- CIE Lab
- lab(7.26 19.11 -40.91)
- LCH
- lch(7.26 45.16 295)
- CMYK
- cmyk(95% 82% 0% 69%)
Tons claros · Sombras · Tons
Tons claros
- 142760
- 2A3D71
- 415483
- 596B95
- 7382A6
- 8D9AB8
- A8B3CA
- C5CCDB
- E1E5ED
Sombras
- 030B43
- 020738
- 01052D
- 010323
- 000219
- 00010F
- 000007
- 000002
- 000000
Tons
- 0C1C54
- 17285A
- 22335F
- 2F3E65
- 3B496A
- 48546F
- 565F73
- 646A78
- 72757C
Harmonias de cor
Complementar +180°
- 040E4E
Interstellar Blue
- 231800
≈ Cannon Black
Análoga -30° +30°
- 040E4E
Interstellar Blue
- 001D2D
≈ Oxford by Night
- 220147
≈ Your Darkness
Tríade +120° +240°
- 040E4E
Interstellar Blue
- 390002
≈ Dark Maroon
- 002105
≈ Rainforest Nights
Complementar dividida +150° +210°
- 040E4E
Interstellar Blue
- 2C1200
≈ Shadow Play
- 191C00
≈ Yuzu Soy
Tétrade +90° +180° +270°
- 040E4E
Interstellar Blue
- 36001B
≈ Rhodophobia
- 231800
≈ Cannon Black
- 002019
≈ Stellar Explorer
Contraste e acessibilidade
Ag
AAASobre branco
WCAG 17.82:1 · APCA Lc 104
Ag
FailSobre preto
WCAG 1.17:1 · APCA Lc 0
Melhor cor de texto: #FFFFFF
WCAG 17.82:1 (AAA) · APCA Lc 104
Contrast pairs
Trechos de código
CSS
:root {
--interstellar-blue: #040e4e;
--interstellar-blue-rgb: 4 14 78;
--interstellar-blue-oklch: oklch(0.217 0.116 266.3);
}
.element {
color: var(--interstellar-blue);
background-color: hsl(232 90% 16%);
border-color: oklch(0.217 0.116 266.3);
}Tailwind CSS v4
@theme {
--color-interstellar-blue: #040e4e;
--color-interstellar-blue-50: #e7f5ff;
--color-interstellar-blue-100: #d7e7ff;
--color-interstellar-blue-200: #bfd3ff;
--color-interstellar-blue-300: #9eb6f3;
--color-interstellar-blue-400: #7f9ce3;
--color-interstellar-blue-500: #6282d3;
--color-interstellar-blue-600: #546fb2;
--color-interstellar-blue-700: #42588f;
--color-interstellar-blue-800: #2e416a;
--color-interstellar-blue-900: #1f2d4b;
--color-interstellar-blue-950: #0f1a31;
}SCSS
$interstellar-blue: #040e4e;
$interstellar-blue-rgb: 4, 14, 78;
$interstellar-blue-light: mix(#fff, $interstellar-blue, 20%);
$interstellar-blue-dark: mix(#000, $interstellar-blue, 20%);
.element {
color: $interstellar-blue;
box-shadow: 0 0 0 2px rgba($interstellar-blue, 0.35);
}