Color con nombre más cercano · #040511
#040511
Color con nombre más cercano: Narwhal Grey
#040511 (rgb(4 5 17), hsl(235 62% 4%), oklch(0.122 0.029 275.9)) se parece más al color con nombre Narwhal Grey. Mira tintes, sombras, armonías, contraste WCAG y APCA, y código CSS, Tailwind v4 y SCSS.
#040511
oklch(0.122 0.029 275.9)
Conversiones de color
- HEX
- #040511
- RGB
- rgb(4 5 17)
- HSL
- hsl(235 62% 4%)
- HWB
- hwb(235 2% 93%)
- OKLCH
- oklch(0.122 0.029 275.9)
- OKLab
- oklab(0.122 0.003 -0.029)
- CIE Lab
- lab(1.53 1.13 -5.22)
- LCH
- lch(1.53 5.34 282.2)
- CMYK
- cmyk(76% 71% 0% 93%)
Tintes · Sombras · Tonos
Tintes
- 151724
- 2A2C39
- 41434F
- 595B66
- 72747E
- 8D8E96
- A8A9AF
- C4C5C9
- E1E2E4
Sombras
- 03040D
- 020309
- 010206
- 010104
- 000102
- 000001
- 000000
- 000000
- 000000
Tonos
- 0C0E1B
- 171925
- 22252F
- 2E313A
- 3B3D45
- 484A51
- 56575C
- 636468
- 727274
Armonías de color
Complementario +180°
- 040511
Narwhal Grey
- 090600
≈ Liquorice
Análogo -30° +30°
- 040511
Narwhal Grey
- 000710
≈ Eight Ball
- 08040F
≈ Broken Tube
Triádico +120° +240°
- 040511
Narwhal Grey
- 0F0301
≈ Dark Matter
- 000903
≈ Melanous
Complementario dividido +150° +210°
- 040511
Narwhal Grey
- 0D0400
≈ Liquorice
- 040800
≈ Melanous
Tetrádico +90° +180° +270°
- 040511
Narwhal Grey
- 0F0305
≈ Dark Matter
- 090600
≈ Liquorice
- 000807
≈ Black Metal
Contraste y accesibilidad
Ag
AAASobre blanco
WCAG 20.29:1 · APCA Lc 106
Ag
FailSobre negro
WCAG 1.03:1 · APCA Lc 0
Mejor color de texto: #FFFFFF
WCAG 20.29:1 (AAA) · APCA Lc 106
Contrast pairs
Fragmentos de código
CSS
:root {
--narwhal-grey: #040511;
--narwhal-grey-rgb: 4 5 17;
--narwhal-grey-oklch: oklch(0.122 0.029 275.9);
}
.element {
color: var(--narwhal-grey);
background-color: hsl(235 62% 4%);
border-color: oklch(0.122 0.029 275.9);
}Tailwind CSS v4
@theme {
--color-narwhal-grey: #040511;
--color-narwhal-grey-50: #f3f4fe;
--color-narwhal-grey-100: #e5e7f2;
--color-narwhal-grey-200: #d1d3e1;
--color-narwhal-grey-300: #b3b6c7;
--color-narwhal-grey-400: #999db0;
--color-narwhal-grey-500: #80859a;
--color-narwhal-grey-600: #6d7182;
--color-narwhal-grey-700: #575a68;
--color-narwhal-grey-800: #3f424d;
--color-narwhal-grey-900: #2b2d35;
--color-narwhal-grey-950: #191a21;
}SCSS
$narwhal-grey: #040511;
$narwhal-grey-rgb: 4, 5, 17;
$narwhal-grey-light: mix(#fff, $narwhal-grey, 20%);
$narwhal-grey-dark: mix(#000, $narwhal-grey, 20%);
.element {
color: $narwhal-grey;
box-shadow: 0 0 0 2px rgba($narwhal-grey, 0.35);
}