Couleur nommée la plus proche · #040956
#040956
Couleur nommée la plus proche: Ravenclaw
#040956 (rgb(4 9 86), hsl(236 91% 18%), oklch(0.22 0.131 266.5)) est la plus proche de la couleur nommée Ravenclaw. Teintes, ombres, harmonies, contraste WCAG et APCA, et code CSS, Tailwind v4 et SCSS.
#040956
oklch(0.22 0.131 266.5)
Conversions de couleur
- HEX
- #040956
- RGB
- rgb(4 9 86)
- HSL
- hsl(236 91% 18%)
- HWB
- hwb(236 2% 66%)
- OKLCH
- oklch(0.22 0.131 266.5)
- OKLab
- oklab(0.22 -0.008 -0.131)
- CIE Lab
- lab(7.11 24.92 -46.65)
- LCH
- lch(7.11 52.89 298.1)
- CMYK
- cmyk(95% 90% 0% 66%)
Teintes · Ombres · Tons
Teintes
- 122567
- 283D79
- 3F548A
- 576B9B
- 7183AB
- 8C9BBC
- A7B3CD
- C4CCDE
- E1E5EE
Ombres
- 03074A
- 02053E
- 010332
- 010227
- 00011C
- 000112
- 000008
- 000002
- 000000
Tons
- 0A1A5B
- 152760
- 203365
- 2D3E6A
- 3A496E
- 475472
- 555F76
- 636A7A
- 71757D
Harmonies de couleurs
Complémentaire +180°
- 040956
Ravenclaw
- 241900
≈ Cannon Black
Analogue -30° +30°
- 040956
Ravenclaw
- 001D2E
≈ Oxford by Night
- 23004A
≈ Your Darkness
Triadique +120° +240°
- 040956
Ravenclaw
- 3A0002
≈ Dark Maroon
- 002206
≈ Rainforest Nights
Complémentaire divisée +150° +210°
- 040956
Ravenclaw
- 2D1300
≈ Shadow Play
- 191D00
≈ Yuzu Soy
Tétradique +90° +180° +270°
Contraste et accessibilité
Ag
AAASur blanc
WCAG 17.81:1 · APCA Lc 104
Ag
FailSur noir
WCAG 1.17:1 · APCA Lc 0
Meilleure couleur de texte: #FFFFFF
WCAG 17.81:1 (AAA) · APCA Lc 104
Contrast pairs
Extraits de code
CSS
:root {
--ravenclaw: #040956;
--ravenclaw-rgb: 4 9 86;
--ravenclaw-oklch: oklch(0.22 0.131 266.5);
}
.element {
color: var(--ravenclaw);
background-color: hsl(236 91% 18%);
border-color: oklch(0.22 0.131 266.5);
}Tailwind CSS v4
@theme {
--color-ravenclaw: #040956;
--color-ravenclaw-50: #e5f5ff;
--color-ravenclaw-100: #d5e7ff;
--color-ravenclaw-200: #bdd3ff;
--color-ravenclaw-300: #9bb5fb;
--color-ravenclaw-400: #7b9bec;
--color-ravenclaw-500: #5e81dd;
--color-ravenclaw-600: #506dba;
--color-ravenclaw-700: #405796;
--color-ravenclaw-800: #2b4070;
--color-ravenclaw-900: #1d2c4f;
--color-ravenclaw-950: #0d1934;
}SCSS
$ravenclaw: #040956;
$ravenclaw-rgb: 4, 9, 86;
$ravenclaw-light: mix(#fff, $ravenclaw, 20%);
$ravenclaw-dark: mix(#000, $ravenclaw, 20%);
.element {
color: $ravenclaw;
box-shadow: 0 0 0 2px rgba($ravenclaw, 0.35);
}