Couleur nommée la plus proche · #4B6BAE
#4B6BAE
Couleur nommée la plus proche: Starstruck
#4B6BAE (rgb(75 107 174), hsl(221 40% 49%), oklch(0.535 0.112 263.7)) est la plus proche de la couleur nommée Starstruck. Teintes, ombres, harmonies, contraste WCAG et APCA, et code CSS, Tailwind v4 et SCSS.
#4B6BAE
oklch(0.535 0.112 263.7)
Conversions de couleur
- HEX
- #4b6bae
- RGB
- rgb(75 107 174)
- HSL
- hsl(221 40% 49%)
- HWB
- hwb(221 29% 32%)
- OKLCH
- oklch(0.535 0.112 263.7)
- OKLab
- oklab(0.535 -0.012 -0.111)
- CIE Lab
- lab(45.18 3.91 -39.99)
- LCH
- lch(45.18 40.18 275.6)
- CMYK
- cmyk(57% 39% 0% 32%)
Teintes · Ombres · Tons
Teintes
- 5C79B7
- 6D88BF
- 7E97C8
- 8FA5D0
- A1B4D8
- B3C3E0
- C6D2E8
- D9E1F0
- ECF0F7
Ombres
- 405C97
- 354E80
- 2B3F6A
- 213255
- 172541
- 0E182E
- 060D1C
- 02040B
- 000001
Tons
- 506EAA
- 5670A6
- 5B72A1
- 60759D
- 667798
- 6B7994
- 707B8F
- 767D8A
- 7B7E85
Harmonies de couleurs
Complémentaire +180°
- 4B6BAE
Starstruck
- 8B6600
≈ Alligator
Analogue -30° +30°
- 4B6BAE
Starstruck
- 0077A3
≈ Summer Lake
- 715FA8
≈ Genestealer Purple
Triadique +120° +240°
- 4B6BAE
Starstruck
- A4504D
≈ Persimmon Red
- 417E40
≈ Hills of Ireland
Complémentaire divisée +150° +210°
- 4B6BAE
Starstruck
- 9E5925
≈ Bright Bronze
- 6D7415
≈ Spinach Soup
Tétradique +90° +180° +270°
- 4B6BAE
Starstruck
- 9E4F72
≈ Sea Fan Fuchsia
- 8B6600
≈ Alligator
- 008068
≈ Emperor’s Silk
Contraste et accessibilité
Ag
AASur blanc
WCAG 5.23:1 · APCA Lc 76
Ag
FailSur noir
WCAG 4.01:1 · APCA Lc 26
Meilleure couleur de texte: #FFFFFF
WCAG 5.23:1 (AA) · APCA Lc 76
Contrast pairs
Extraits de code
CSS
:root {
--starstruck: #4b6bae;
--starstruck-rgb: 75 107 174;
--starstruck-oklch: oklch(0.535 0.112 263.7);
}
.element {
color: var(--starstruck);
background-color: hsl(221 40% 49%);
border-color: oklch(0.535 0.112 263.7);
}Tailwind CSS v4
@theme {
--color-starstruck: #4b6bae;
--color-starstruck-50: #e6f5ff;
--color-starstruck-100: #d6e8ff;
--color-starstruck-200: #bed4ff;
--color-starstruck-300: #9cb7f2;
--color-starstruck-400: #7c9ee1;
--color-starstruck-500: #5f84d0;
--color-starstruck-600: #5170b0;
--color-starstruck-700: #40598d;
--color-starstruck-800: #2c4269;
--color-starstruck-900: #1e2d4a;
--color-starstruck-950: #0e1a31;
}SCSS
$starstruck: #4b6bae;
$starstruck-rgb: 75, 107, 174;
$starstruck-light: mix(#fff, $starstruck, 20%);
$starstruck-dark: mix(#000, $starstruck, 20%);
.element {
color: $starstruck;
box-shadow: 0 0 0 2px rgba($starstruck, 0.35);
}