Couleur nommée la plus proche · #002947
#002947
Couleur nommée la plus proche: Midnight Ocean
#002947 (rgb(0 41 71), hsl(205 100% 14%), oklch(0.273 0.07 246.2)) est la plus proche de la couleur nommée Midnight Ocean. Teintes, ombres, harmonies, contraste WCAG et APCA, et code CSS, Tailwind v4 et SCSS.
#002947
oklch(0.273 0.07 246.2)
Conversions de couleur
- HEX
- #002947
- RGB
- rgb(0 41 71)
- HSL
- hsl(205 100% 14%)
- HWB
- hwb(205 0% 72%)
- OKLCH
- oklch(0.273 0.07 246.2)
- OKLab
- oklab(0.273 -0.028 -0.064)
- CIE Lab
- lab(15.34 -3.54 -23)
- LCH
- lch(15.34 23.27 261.2)
- CMYK
- cmyk(100% 42% 0% 72%)
Teintes · Ombres · Tons
Teintes
- 1A3C58
- 32506A
- 49647B
- 61788D
- 7A8EA0
- 93A3B2
- ADBAC5
- C8D0D8
- E3E7EB
Ombres
- 00223D
- 001C32
- 001528
- 000F1F
- 000916
- 00050D
- 000206
- 000102
- 000000
Tons
- 0F314D
- 1D3A53
- 294259
- 364B5E
- 425464
- 4E5C6A
- 5A656F
- 676E75
- 73777A
Harmonies de couleurs
Complémentaire +180°
- 002947
Midnight Ocean
- 3B2000
≈ Medium Roast
Analogue -30° +30°
- 002947
Midnight Ocean
- 002D36
≈ Black Chasm
- 1E2249
≈ Black Market
Triadique +120° +240°
- 002947
Midnight Ocean
- 421522
≈ What We Do in the Shadows
- 1E2D00
≈ Blind Forest
Complémentaire divisée +150° +210°
- 002947
Midnight Ocean
- 43180C
≈ Old Study
- 2F2700
≈ Black Swan
Tétradique +90° +180° +270°
- 002947
Midnight Ocean
- 3C1834
≈ Nightly Voyager
- 3B2000
≈ Medium Roast
- 003019
≈ Nightly Woods
Contraste et accessibilité
Ag
AAASur blanc
WCAG 14.91:1 · APCA Lc 101
Ag
FailSur noir
WCAG 1.40:1 · APCA Lc 0
Meilleure couleur de texte: #FFFFFF
WCAG 14.91:1 (AAA) · APCA Lc 101
Contrast pairs
Extraits de code
CSS
:root {
--midnight-ocean: #002947;
--midnight-ocean-rgb: 0 41 71;
--midnight-ocean-oklch: oklch(0.273 0.07 246.2);
}
.element {
color: var(--midnight-ocean);
background-color: hsl(205 100% 14%);
border-color: oklch(0.273 0.07 246.2);
}Tailwind CSS v4
@theme {
--color-midnight-ocean: #002947;
--color-midnight-ocean-50: #e6f8ff;
--color-midnight-ocean-100: #d6ebff;
--color-midnight-ocean-200: #bdd8f2;
--color-midnight-ocean-300: #9cbbda;
--color-midnight-ocean-400: #7ca3c6;
--color-midnight-ocean-500: #5e8bb2;
--color-midnight-ocean-600: #507697;
--color-midnight-ocean-700: #405e79;
--color-midnight-ocean-800: #2d4559;
--color-midnight-ocean-900: #1e303e;
--color-midnight-ocean-950: #0e1c28;
}SCSS
$midnight-ocean: #002947;
$midnight-ocean-rgb: 0, 41, 71;
$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);
}