Couleur nommée la plus proche · #04065A
#04065A
Couleur nommée la plus proche: Ravenclaw
#04065A (rgb(4 6 90), hsl(239 91% 18%), oklch(0.222 0.139 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.
#04065A
oklch(0.222 0.139 266.5)
Conversions de couleur
- HEX
- #04065a
- RGB
- rgb(4 6 90)
- HSL
- hsl(239 91% 18%)
- HWB
- hwb(239 2% 65%)
- OKLCH
- oklch(0.222 0.139 266.5)
- OKLab
- oklab(0.222 -0.009 -0.139)
- CIE Lab
- lab(7.02 27.92 -49.51)
- LCH
- lch(7.02 56.84 299.4)
- CMYK
- cmyk(96% 93% 0% 65%)
Teintes · Ombres · Tons
Teintes
- 11256B
- 263D7C
- 3E548D
- 566B9D
- 7083AE
- 8B9BBE
- A7B3CF
- C4CCDF
- E1E5EF
Ombres
- 03044D
- 020341
- 010235
- 010129
- 00011E
- 000013
- 000009
- 000003
- 000000
Tons
- 09195F
- 142664
- 1F3368
- 2C3E6D
- 394971
- 475474
- 555F78
- 636A7B
- 71757E
Harmonies de couleurs
Complémentaire +180°
- 04065A
Ravenclaw
- 241900
≈ Cannon Black
Analogue -30° +30°
- 04065A
Ravenclaw
- 001E2E
≈ Cyanophobia
- 23004B
≈ Your Darkness
Triadique +120° +240°
- 04065A
Ravenclaw
- 3B0002
≈ Dark Maroon
- 002306
≈ Rainforest Nights
Complémentaire divisée +150° +210°
- 04065A
Ravenclaw
- 2D1300
≈ Shadow Play
- 1A1E00
≈ 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: #04065a;
--ravenclaw-rgb: 4 6 90;
--ravenclaw-oklch: oklch(0.222 0.139 266.5);
}
.element {
color: var(--ravenclaw);
background-color: hsl(239 91% 18%);
border-color: oklch(0.222 0.139 266.5);
}Tailwind CSS v4
@theme {
--color-ravenclaw: #04065a;
--color-ravenclaw-50: #e4f5ff;
--color-ravenclaw-100: #d4e7ff;
--color-ravenclaw-200: #bbd3ff;
--color-ravenclaw-300: #99b5ff;
--color-ravenclaw-400: #789bf1;
--color-ravenclaw-500: #5b80e2;
--color-ravenclaw-600: #4e6dbe;
--color-ravenclaw-700: #3e5799;
--color-ravenclaw-800: #2a4072;
--color-ravenclaw-900: #1c2c50;
--color-ravenclaw-950: #0c1936;
}SCSS
$ravenclaw: #04065a;
$ravenclaw-rgb: 4, 6, 90;
$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);
}