Couleur nommée la plus proche · #5A5F8A
#5A5F8A
Couleur nommée la plus proche: Wizard’s Potion
#5A5F8A (rgb(90 95 138), hsl(234 21% 45%), oklch(0.499 0.069 278.5)) est la plus proche de la couleur nommée Wizard’s Potion. Teintes, ombres, harmonies, contraste WCAG et APCA, et code CSS, Tailwind v4 et SCSS.
#5A5F8A
oklch(0.499 0.069 278.5)
Conversions de couleur
- HEX
- #5a5f8a
- RGB
- rgb(90 95 138)
- HSL
- hsl(234 21% 45%)
- HWB
- hwb(234 35% 46%)
- OKLCH
- oklch(0.499 0.069 278.5)
- OKLab
- oklab(0.499 0.01 -0.068)
- CIE Lab
- lab(41.25 6.31 -24.75)
- LCH
- lch(41.25 25.54 284.3)
- CMYK
- cmyk(35% 31% 0% 46%)
Teintes · Ombres · Tons
Teintes
- 696E96
- 787DA1
- 888DAD
- 989CB8
- A8ACC4
- B9BCD0
- CACDDB
- DCDDE7
- EDEEF3
Ombres
- 4D5277
- 414465
- 353853
- 292C42
- 1E2032
- 131522
- 090A14
- 030307
- 000001
Tons
- 5E6289
- 616688
- 656988
- 696C87
- 6C7086
- 707385
- 747684
- 787A83
- 7C7D81
Harmonies de couleurs
Complémentaire +180°
- 5A5F8A
Wizard’s Potion
- 6D6433
≈ Himalaya
Analogue -30° +30°
- 5A5F8A
Wizard’s Potion
- 436689
≈ French Mirage Blue
- 6E5881
≈ Mystical
Triadique +120° +240°
- 5A5F8A
Wizard’s Potion
- 855546
≈ Red Hook
- 3E6F54
≈ Foliage Green
Complémentaire divisée +150° +210°
- 5A5F8A
Wizard’s Potion
- 7D5C36
≈ Japanese Iris
- 576B40
≈ Spring Onion
Tétradique +90° +180° +270°
- 5A5F8A
Wizard’s Potion
- 85525B
≈ So Merlot
- 6D6433
≈ Himalaya
- 2B706B
≈ Advantageous
Contraste et accessibilité
Ag
AASur blanc
WCAG 6.10:1 · APCA Lc 80
Ag
FailSur noir
WCAG 3.43:1 · APCA Lc 21
Meilleure couleur de texte: #FFFFFF
WCAG 6.10:1 (AA) · APCA Lc 80
Contrast pairs
Extraits de code
CSS
:root {
--wizard-s-potion: #5a5f8a;
--wizard-s-potion-rgb: 90 95 138;
--wizard-s-potion-oklch: oklch(0.499 0.069 278.5);
}
.element {
color: var(--wizard-s-potion);
background-color: hsl(234 21% 45%);
border-color: oklch(0.499 0.069 278.5);
}Tailwind CSS v4
@theme {
--color-wizard-s-potion: #5a5f8a;
--color-wizard-s-potion-50: #f1f3ff;
--color-wizard-s-potion-100: #e3e6ff;
--color-wizard-s-potion-200: #ced2f2;
--color-wizard-s-potion-300: #b0b4db;
--color-wizard-s-potion-400: #959bc7;
--color-wizard-s-potion-500: #7c82b4;
--color-wizard-s-potion-600: #696e98;
--color-wizard-s-potion-700: #54587a;
--color-wizard-s-potion-800: #3c405a;
--color-wizard-s-potion-900: #292c3f;
--color-wizard-s-potion-950: #171928;
}SCSS
$wizard-s-potion: #5a5f8a;
$wizard-s-potion-rgb: 90, 95, 138;
$wizard-s-potion-light: mix(#fff, $wizard-s-potion, 20%);
$wizard-s-potion-dark: mix(#000, $wizard-s-potion, 20%);
.element {
color: $wizard-s-potion;
box-shadow: 0 0 0 2px rgba($wizard-s-potion, 0.35);
}