Nearest named color · #4E6AAD
#4E6AAD
Nearest named color: Starstruck
#4E6AAD (rgb(78 106 173), hsl(222 38% 49%), oklch(0.534 0.111 265.7)) is closest to the named color Starstruck. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#4E6AAD
oklch(0.534 0.111 265.7)
Color conversions
- HEX
- #4e6aad
- RGB
- rgb(78 106 173)
- HSL
- hsl(222 38% 49%)
- HWB
- hwb(222 31% 32%)
- OKLCH
- oklch(0.534 0.111 265.7)
- OKLab
- oklab(0.534 -0.008 -0.11)
- CIE Lab
- lab(45.03 4.97 -39.63)
- LCH
- lch(45.03 39.94 277.2)
- CMYK
- cmyk(55% 39% 0% 32%)
Tints · Shades · Tones
Tints
- 5E79B6
- 6F87BE
- 8096C7
- 91A4CF
- A3B3D7
- B4C2E0
- C7D1E8
- D9E0F0
- ECF0F7
Shades
- 435B96
- 384D7F
- 2D3F6A
- 233155
- 192441
- 0F182D
- 070D1B
- 02040B
- 000001
Tones
- 536DA9
- 586FA5
- 5D72A1
- 62749C
- 677698
- 6C7893
- 717A8F
- 767C8A
- 7B7E85
Color harmonies
Complementary +180°
- 4E6AAD
Starstruck
- 896700
≈ Muddy Brown
Analogous -30° +30°
- 4E6AAD
Starstruck
- 0E76A4
≈ Summer Lake
- 735EA6
≈ Genestealer Purple
Triadic +120° +240°
- 4E6AAD
Starstruck
- A3514B
≈ BBQ
- 3E7E43
≈ Hills of Ireland
Split-complementary +150° +210°
- 4E6AAD
Starstruck
- 9D5A24
≈ Bright Bronze
- 6A741A
≈ Spinach Soup
Tetradic +90° +180° +270°
- 4E6AAD
Starstruck
- 9E4F6F
≈ Cherry Berry
- 896700
≈ Muddy Brown
- 007F6A
≈ Mediaeval Forest
Contrast & accessibility
Ag
AAOn white
WCAG 5.26:1 · APCA Lc 76
Ag
FailOn black
WCAG 3.98:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.26:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--starstruck: #4e6aad;
--starstruck-rgb: 78 106 173;
--starstruck-oklch: oklch(0.534 0.111 265.7);
}
.element {
color: var(--starstruck);
background-color: hsl(222 38% 49%);
border-color: oklch(0.534 0.111 265.7);
}Tailwind CSS v4
@theme {
--color-starstruck: #4e6aad;
--color-starstruck-50: #e7f5ff;
--color-starstruck-100: #d8e8ff;
--color-starstruck-200: #c0d3ff;
--color-starstruck-300: #9fb6f1;
--color-starstruck-400: #7f9de0;
--color-starstruck-500: #6383cf;
--color-starstruck-600: #546faf;
--color-starstruck-700: #43598d;
--color-starstruck-800: #2e4169;
--color-starstruck-900: #1f2d4a;
--color-starstruck-950: #0f1a30;
}SCSS
$starstruck: #4e6aad;
$starstruck-rgb: 78, 106, 173;
$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);
}