Couleur nommée la plus proche · #191539
#191539
Couleur nommée la plus proche: Midnight Monarch
#191539 (rgb(25 21 57), hsl(247 46% 15%), oklch(0.224 0.067 284.6)) est la plus proche de la couleur nommée Midnight Monarch. Teintes, ombres, harmonies, contraste WCAG et APCA, et code CSS, Tailwind v4 et SCSS.
#191539
oklch(0.224 0.067 284.6)
Conversions de couleur
- HEX
- #191539
- RGB
- rgb(25 21 57)
- HSL
- hsl(247 46% 15%)
- HWB
- hwb(247 8% 78%)
- OKLCH
- oklch(0.224 0.067 284.6)
- OKLab
- oklab(0.224 0.017 -0.065)
- CIE Lab
- lab(9.01 11.15 -23.2)
- LCH
- lch(9.01 25.74 295.7)
- CMYK
- cmyk(56% 63% 0% 78%)
Teintes · Ombres · Tons
Teintes
- 2B294B
- 3F3E5E
- 545471
- 6A6A84
- 818198
- 9999AC
- B1B2C0
- CBCBD5
- E5E5EA
Ombres
- 141130
- 100C28
- 0B081F
- 070517
- 040310
- 020209
- 010104
- 000001
- 000000
Tons
- 221F40
- 2B2947
- 34344F
- 3E3E56
- 48495D
- 535364
- 5E5E6B
- 696972
- 747579
Harmonies de couleurs
Complémentaire +180°
- 191539
Midnight Monarch
- 1F1C00
≈ Liquorice Root
Analogue -30° +30°
- 191539
Midnight Monarch
- 021B3A
≈ Naval Night
- 271031
≈ Dark Prom Queen
Triadique +120° +240°
- 191539
Midnight Monarch
- 330F00
≈ Chocolate Melange
- 002216
≈ Clock Chimes Thirteen
Complémentaire divisée +150° +210°
- 191539
Midnight Monarch
- 281800
≈ Cannon Black
- 0D2200
≈ Yuzu Soy
Tétradique +90° +180° +270°
- 191539
Midnight Monarch
- 340A11
≈ Black Rooster
- 1F1C00
≈ Liquorice Root
- 002121
≈ Stellar Explorer
Contraste et accessibilité
Ag
AAASur blanc
WCAG 17.38:1 · APCA Lc 104
Ag
FailSur noir
WCAG 1.20:1 · APCA Lc 0
Meilleure couleur de texte: #FFFFFF
WCAG 17.38:1 (AAA) · APCA Lc 104
Contrast pairs
Extraits de code
CSS
:root {
--midnight-monarch: #191539;
--midnight-monarch-rgb: 25 21 57;
--midnight-monarch-oklch: oklch(0.224 0.067 284.6);
}
.element {
color: var(--midnight-monarch);
background-color: hsl(247 46% 15%);
border-color: oklch(0.224 0.067 284.6);
}Tailwind CSS v4
@theme {
--color-midnight-monarch: #191539;
--color-midnight-monarch-50: #f3f3ff;
--color-midnight-monarch-100: #e6e5fe;
--color-midnight-monarch-200: #d1d1f0;
--color-midnight-monarch-300: #b4b3d9;
--color-midnight-monarch-400: #9999c5;
--color-midnight-monarch-500: #8180b2;
--color-midnight-monarch-600: #6d6d96;
--color-midnight-monarch-700: #575778;
--color-midnight-monarch-800: #3f4059;
--color-midnight-monarch-900: #2b2c3e;
--color-midnight-monarch-950: #191928;
}SCSS
$midnight-monarch: #191539;
$midnight-monarch-rgb: 25, 21, 57;
$midnight-monarch-light: mix(#fff, $midnight-monarch, 20%);
$midnight-monarch-dark: mix(#000, $midnight-monarch, 20%);
.element {
color: $midnight-monarch;
box-shadow: 0 0 0 2px rgba($midnight-monarch, 0.35);
}