Couleur nommée la plus proche · #516C9E
#516C9E
Couleur nommée la plus proche: Starstruck
#516C9E (rgb(81 108 158), hsl(219 32% 47%), oklch(0.532 0.085 262.2)) est la plus proche de la couleur nommée Starstruck. Teintes, ombres, harmonies, contraste WCAG et APCA, et code CSS, Tailwind v4 et SCSS.
#516C9E
oklch(0.532 0.085 262.2)
Conversions de couleur
- HEX
- #516c9e
- RGB
- rgb(81 108 158)
- HSL
- hsl(219 32% 47%)
- HWB
- hwb(219 32% 38%)
- OKLCH
- oklch(0.532 0.085 262.2)
- OKLab
- oklab(0.532 -0.012 -0.085)
- CIE Lab
- lab(45.16 0.78 -30.63)
- LCH
- lch(45.16 30.64 271.5)
- CMYK
- cmyk(49% 32% 0% 38%)
Teintes · Ombres · Tons
Teintes
- 617AA8
- 7188B2
- 8297BB
- 93A5C5
- A4B4CF
- B6C2D9
- C8D1E2
- DAE0EC
- ECF0F5
Ombres
- 455D89
- 3A4E74
- 2F4060
- 24324D
- 1A253A
- 101929
- 070D18
- 020409
- 000001
Tons
- 566E9B
- 5B7099
- 5F7396
- 647593
- 697790
- 6D798D
- 727B8A
- 777C87
- 7B7E83
Harmonies de couleurs
Complémentaire +180°
- 516C9E
Starstruck
- 85672C
≈ Hunting Jacket
Analogue -30° +30°
- 516C9E
Starstruck
- 307595
≈ Cottage by the Sea
- 6D639A
≈ Scampi
Triadique +120° +240°
- 516C9E
Starstruck
- 985856
≈ Brown Cerberus
- 4F794A
≈ Autumn Fern
Complémentaire divisée +150° +210°
- 516C9E
Starstruck
- 935E3C
≈ Carmel
- 6D7133
≈ Aged Mustard Green
Tétradique +90° +180° +270°
- 516C9E
Starstruck
- 925771
≈ Grandeur Plum
- 85672C
≈ Hunting Jacket
- 2B7C67
≈ Pinehurst
Contraste et accessibilité
Ag
AASur blanc
WCAG 5.26:1 · APCA Lc 76
Ag
FailSur noir
WCAG 3.98:1 · APCA Lc 26
Meilleure couleur de texte: #FFFFFF
WCAG 5.26:1 (AA) · APCA Lc 76
Contrast pairs
Extraits de code
CSS
:root {
--starstruck: #516c9e;
--starstruck-rgb: 81 108 158;
--starstruck-oklch: oklch(0.532 0.085 262.2);
}
.element {
color: var(--starstruck);
background-color: hsl(219 32% 47%);
border-color: oklch(0.532 0.085 262.2);
}Tailwind CSS v4
@theme {
--color-starstruck: #516c9e;
--color-starstruck-50: #e9f6ff;
--color-starstruck-100: #dae8ff;
--color-starstruck-200: #c2d5fa;
--color-starstruck-300: #a1b8e4;
--color-starstruck-400: #839fd1;
--color-starstruck-500: #6786bf;
--color-starstruck-600: #5771a1;
--color-starstruck-700: #465b81;
--color-starstruck-800: #314360;
--color-starstruck-900: #212e43;
--color-starstruck-950: #111b2b;
}SCSS
$starstruck: #516c9e;
$starstruck-rgb: 81, 108, 158;
$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);
}