Color con nombre más cercano · #042638
#042638
Color con nombre más cercano: Midnight Dreams
#042638 (rgb(4 38 56), hsl(201 87% 12%), oklch(0.255 0.051 236.8)) se parece más al color con nombre Midnight Dreams. Mira tintes, sombras, armonías, contraste WCAG y APCA, y código CSS, Tailwind v4 y SCSS.
#042638
oklch(0.255 0.051 236.8)
Conversiones de color
- HEX
- #042638
- RGB
- rgb(4 38 56)
- HSL
- hsl(201 87% 12%)
- HWB
- hwb(201 2% 78%)
- OKLCH
- oklch(0.255 0.051 236.8)
- OKLab
- oklab(0.255 -0.028 -0.043)
- CIE Lab
- lab(13.57 -6.49 -15.38)
- LCH
- lch(13.57 16.69 247.1)
- CMYK
- cmyk(93% 32% 0% 78%)
Tintes · Sombras · Tonos
Tintes
- 1C394A
- 334C5C
- 4A616F
- 627682
- 7A8B96
- 94A1AA
- AEB8BF
- C8CFD4
- E3E7E9
Sombras
- 03202F
- 021927
- 01131F
- 010D17
- 00080F
- 000408
- 000204
- 000101
- 000000
Tonos
- 122E3F
- 1E3746
- 2A404D
- 364954
- 42515B
- 4E5B63
- 5A646A
- 676D71
- 737679
Armonías de color
Complementario +180°
- 042638
Midnight Dreams
- 351C07
≈ Close but No Cigar
Análogo -30° +30°
- 042638
Midnight Dreams
- 00292D
≈ Daintree
- 18223B
≈ Cool Balaclavas Are Forever
Triádico +120° +240°
- 042638
Midnight Dreams
- 361723
≈ Chocolate Kiss
- 212605
≈ Liquorice Root
Complementario dividido +150° +210°
- 042638
Midnight Dreams
- 381815
≈ Rustic Red
- 2D2101
≈ Black Swan
Tetrádico +90° +180° +270°
- 042638
Midnight Dreams
- 2F1930
≈ Cultist Robe
- 351C07
≈ Close but No Cigar
- 102914
≈ Nori Green
Contraste y accesibilidad
Ag
AAASobre blanco
WCAG 15.67:1 · APCA Lc 102
Ag
FailSobre negro
WCAG 1.33:1 · APCA Lc 0
Mejor color de texto: #FFFFFF
WCAG 15.67:1 (AAA) · APCA Lc 102
Contrast pairs
Fragmentos de código
CSS
:root {
--midnight-dreams: #042638;
--midnight-dreams-rgb: 4 38 56;
--midnight-dreams-oklch: oklch(0.255 0.051 236.8);
}
.element {
color: var(--midnight-dreams);
background-color: hsl(201 87% 12%);
border-color: oklch(0.255 0.051 236.8);
}Tailwind CSS v4
@theme {
--color-midnight-dreams: #042638;
--color-midnight-dreams-50: #e9f8ff;
--color-midnight-dreams-100: #d9ebf7;
--color-midnight-dreams-200: #c1d8e8;
--color-midnight-dreams-300: #a0bccf;
--color-midnight-dreams-400: #82a4b9;
--color-midnight-dreams-500: #668ca4;
--color-midnight-dreams-600: #56768b;
--color-midnight-dreams-700: #455f6f;
--color-midnight-dreams-800: #314552;
--color-midnight-dreams-900: #213039;
--color-midnight-dreams-950: #101c23;
}SCSS
$midnight-dreams: #042638;
$midnight-dreams-rgb: 4, 38, 56;
$midnight-dreams-light: mix(#fff, $midnight-dreams, 20%);
$midnight-dreams-dark: mix(#000, $midnight-dreams, 20%);
.element {
color: $midnight-dreams;
box-shadow: 0 0 0 2px rgba($midnight-dreams, 0.35);
}