Couleur nommée la plus proche · #050956
#050956
Couleur nommée la plus proche: Ravenclaw
#050956 (rgb(5 9 86), hsl(237 89% 18%), oklch(0.221 0.131 267.1)) est la plus proche de la couleur nommée Ravenclaw. Teintes, ombres, harmonies, contraste WCAG et APCA, et code CSS, Tailwind v4 et SCSS.
#050956
oklch(0.221 0.131 267.1)
Conversions de couleur
- HEX
- #050956
- RGB
- rgb(5 9 86)
- HSL
- hsl(237 89% 18%)
- HWB
- hwb(237 2% 66%)
- OKLCH
- oklch(0.221 0.131 267.1)
- OKLab
- oklab(0.221 -0.007 -0.131)
- CIE Lab
- lab(7.17 25.02 -46.55)
- LCH
- lch(7.17 52.85 298.3)
- CMYK
- cmyk(94% 90% 0% 66%)
Teintes · Ombres · Tons
Teintes
- 142567
- 293D79
- 40548A
- 586B9B
- 7283AB
- 8C9ABC
- A8B3CD
- C4CCDE
- E1E5EE
Ombres
- 04074A
- 03053E
- 020332
- 010227
- 01011C
- 000112
- 000008
- 000002
- 000000
Tons
- 0B1A5B
- 162760
- 213365
- 2E3E6A
- 3A496E
- 485472
- 555F76
- 636A7A
- 71757D
Harmonies de couleurs
Complémentaire +180°
- 050956
Ravenclaw
- 241900
≈ Cannon Black
Analogue -30° +30°
- 050956
Ravenclaw
- 001E2E
≈ Cyanophobia
- 23004A
≈ Your Darkness
Triadique +120° +240°
- 050956
Ravenclaw
- 3B0002
≈ Dark Maroon
- 002206
≈ Rainforest Nights
Complémentaire divisée +150° +210°
- 050956
Ravenclaw
- 2D1300
≈ Shadow Play
- 191E00
≈ Yuzu Soy
Tétradique +90° +180° +270°
Contraste et accessibilité
Ag
AAASur blanc
WCAG 17.79:1 · APCA Lc 104
Ag
FailSur noir
WCAG 1.17:1 · APCA Lc 0
Meilleure couleur de texte: #FFFFFF
WCAG 17.79:1 (AAA) · APCA Lc 104
Contrast pairs
Extraits de code
CSS
:root {
--ravenclaw: #050956;
--ravenclaw-rgb: 5 9 86;
--ravenclaw-oklch: oklch(0.221 0.131 267.1);
}
.element {
color: var(--ravenclaw);
background-color: hsl(237 89% 18%);
border-color: oklch(0.221 0.131 267.1);
}Tailwind CSS v4
@theme {
--color-ravenclaw: #050956;
--color-ravenclaw-50: #e6f4ff;
--color-ravenclaw-100: #d6e7ff;
--color-ravenclaw-200: #bdd3ff;
--color-ravenclaw-300: #9cb5fb;
--color-ravenclaw-400: #7c9bec;
--color-ravenclaw-500: #5f81dc;
--color-ravenclaw-600: #516dba;
--color-ravenclaw-700: #405795;
--color-ravenclaw-800: #2c406f;
--color-ravenclaw-900: #1e2c4f;
--color-ravenclaw-950: #0e1934;
}SCSS
$ravenclaw: #050956;
$ravenclaw-rgb: 5, 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);
}