Couleur nommée la plus proche · #4F6BAA
#4F6BAA
Couleur nommée la plus proche: Starstruck
#4F6BAA (rgb(79 107 170), hsl(222 37% 49%), oklch(0.535 0.105 264.9)) est la plus proche de la couleur nommée Starstruck. Teintes, ombres, harmonies, contraste WCAG et APCA, et code CSS, Tailwind v4 et SCSS.
#4F6BAA
oklch(0.535 0.105 264.9)
Conversions de couleur
- HEX
- #4f6baa
- RGB
- rgb(79 107 170)
- HSL
- hsl(222 37% 49%)
- HWB
- hwb(222 31% 33%)
- OKLCH
- oklch(0.535 0.105 264.9)
- OKLab
- oklab(0.535 -0.009 -0.104)
- CIE Lab
- lab(45.24 3.87 -37.54)
- LCH
- lch(45.24 37.74 275.9)
- CMYK
- cmyk(54% 37% 0% 33%)
Teintes · Ombres · Tons
Teintes
- 5F79B3
- 7088BC
- 8096C5
- 92A5CD
- A3B4D6
- B5C2DE
- C7D1E7
- D9E0EF
- ECF0F7
Ombres
- 445C93
- 384E7D
- 2E3F68
- 233253
- 19253F
- 10182D
- 070D1B
- 02040B
- 000001
Tons
- 546EA6
- 5970A2
- 5E729E
- 63749A
- 687796
- 6C7992
- 717B8E
- 767C89
- 7B7E85
Harmonies de couleurs
Complémentaire +180°
- 4F6BAA
Starstruck
- 89670F
≈ Muddy Brown
Analogue -30° +30°
- 4F6BAA
Starstruck
- 1A76A1
≈ Mitchell Blue
- 7260A3
≈ Scampi
Triadique +120° +240°
- 4F6BAA
Starstruck
- A1534E
≈ Bravado Red
- 437D45
≈ Hills of Ireland
Complémentaire divisée +150° +210°
- 4F6BAA
Starstruck
- 9B5B2B
≈ Chilli Con Carne
- 6C7422
≈ Castelvetrano Olive
Tétradique +90° +180° +270°
- 4F6BAA
Starstruck
- 9C5270
≈ Pink Tulip
- 89670F
≈ Muddy Brown
- 00806A
≈ Emperor’s Silk
Contraste et accessibilité
Ag
AASur blanc
WCAG 5.22:1 · APCA Lc 76
Ag
FailSur noir
WCAG 4.01:1 · APCA Lc 26
Meilleure couleur de texte: #FFFFFF
WCAG 5.22:1 (AA) · APCA Lc 76
Contrast pairs
Extraits de code
CSS
:root {
--starstruck: #4f6baa;
--starstruck-rgb: 79 107 170;
--starstruck-oklch: oklch(0.535 0.105 264.9);
}
.element {
color: var(--starstruck);
background-color: hsl(222 37% 49%);
border-color: oklch(0.535 0.105 264.9);
}Tailwind CSS v4
@theme {
--color-starstruck: #4f6baa;
--color-starstruck-50: #e8f5ff;
--color-starstruck-100: #d8e8ff;
--color-starstruck-200: #c0d4ff;
--color-starstruck-300: #9fb6ee;
--color-starstruck-400: #809ddd;
--color-starstruck-500: #6484cc;
--color-starstruck-600: #5570ac;
--color-starstruck-700: #43598a;
--color-starstruck-800: #2f4267;
--color-starstruck-900: #202d48;
--color-starstruck-950: #0f1a2f;
}SCSS
$starstruck: #4f6baa;
$starstruck-rgb: 79, 107, 170;
$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);
}