Cor nomeada mais próxima · #142B49
#142B49
Cor nomeada mais próxima: Midnight Ocean
#142B49 (rgb(20 43 73), hsl(214 57% 18%), oklch(0.287 0.063 255.8)) é mais próxima da cor nomeada Midnight Ocean. Veja tons claros, sombras, harmonias, contraste WCAG e APCA e código CSS, Tailwind v4 e SCSS.
#142B49
oklch(0.287 0.063 255.8)
Conversões de cor
- HEX
- #142b49
- RGB
- rgb(20 43 73)
- HSL
- hsl(214 57% 18%)
- HWB
- hwb(214 8% 71%)
- OKLCH
- oklch(0.287 0.063 255.8)
- OKLab
- oklab(0.287 -0.015 -0.061)
- CIE Lab
- lab(16.95 -0.45 -21.76)
- LCH
- lch(16.95 21.77 268.8)
- CMYK
- cmyk(73% 41% 0% 71%)
Tons claros · Sombras · Tons
Tons claros
- 283E5A
- 3D516B
- 53657D
- 6A798E
- 818EA1
- 99A4B3
- B2BAC6
- CBD1D8
- E5E8EC
Sombras
- 10243E
- 0C1D34
- 08162A
- 051020
- 030A17
- 01050E
- 010206
- 000102
- 000000
Tons
- 1E334F
- 293B54
- 33445A
- 3E4C5F
- 485565
- 535D6A
- 5E6670
- 696E75
- 75777B
Harmonias de cor
Complementar +180°
- 142B49
Midnight Ocean
- 3C2600
≈ Secret Passage
Análoga -30° +30°
- 142B49
Midnight Ocean
- 00303F
≈ Nordic Noir
- 282548
≈ Midnight Velvet
Tríade +120° +240°
- 142B49
Midnight Ocean
- 451C20
≈ Vino Tinto
- 1C3110
≈ Darkest Forest
Complementar dividida +150° +210°
- 142B49
Midnight Ocean
- 431F0D
≈ Délicieux au Chocolat
- 2F2C00
≈ Secret Passage
Tétrade +90° +180° +270°
- 142B49
Midnight Ocean
- 401D31
≈ Jasmin Beauty
- 3C2600
≈ Secret Passage
- 003424
≈ Pitch-Black Forests
Contraste e acessibilidade
Ag
AAASobre branco
WCAG 14.27:1 · APCA Lc 101
Ag
FailSobre preto
WCAG 1.47:1 · APCA Lc 0
Melhor cor de texto: #FFFFFF
WCAG 14.27:1 (AAA) · APCA Lc 101
Contrast pairs
Trechos de código
CSS
:root {
--midnight-ocean: #142b49;
--midnight-ocean-rgb: 20 43 73;
--midnight-ocean-oklch: oklch(0.287 0.063 255.8);
}
.element {
color: var(--midnight-ocean);
background-color: hsl(214 57% 18%);
border-color: oklch(0.287 0.063 255.8);
}Tailwind CSS v4
@theme {
--color-midnight-ocean: #142b49;
--color-midnight-ocean-50: #eaf6ff;
--color-midnight-ocean-100: #dbe9fd;
--color-midnight-ocean-200: #c4d6f0;
--color-midnight-ocean-300: #a4b9d8;
--color-midnight-ocean-400: #86a0c4;
--color-midnight-ocean-500: #6b88b0;
--color-midnight-ocean-600: #5b7394;
--color-midnight-ocean-700: #485c77;
--color-midnight-ocean-800: #334458;
--color-midnight-ocean-900: #232f3d;
--color-midnight-ocean-950: #121b27;
}SCSS
$midnight-ocean: #142b49;
$midnight-ocean-rgb: 20, 43, 73;
$midnight-ocean-light: mix(#fff, $midnight-ocean, 20%);
$midnight-ocean-dark: mix(#000, $midnight-ocean, 20%);
.element {
color: $midnight-ocean;
box-shadow: 0 0 0 2px rgba($midnight-ocean, 0.35);
}