Nearest named color · #4C6AB3
#4C6AB3
Nearest named color: Starstruck
#4C6AB3 (rgb(76 106 179), hsl(223 40% 50%), oklch(0.536 0.12 265.7)) is closest to the named color Starstruck. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#4C6AB3
oklch(0.536 0.12 265.7)
Color conversions
- HEX
- #4c6ab3
- RGB
- rgb(76 106 179)
- HSL
- hsl(223 40% 50%)
- HWB
- hwb(223 30% 30%)
- OKLCH
- oklch(0.536 0.12 265.7)
- OKLab
- oklab(0.536 -0.009 -0.12)
- CIE Lab
- lab(45.18 6.09 -42.89)
- LCH
- lch(45.18 43.32 278.1)
- CMYK
- cmyk(58% 41% 0% 30%)
Tints · Shades · Tones
Tints
- 5C79BB
- 6D87C3
- 7E96CB
- 90A5D3
- A2B4DB
- B4C2E2
- C6D1EA
- D9E0F1
- ECF0F8
Shades
- 415B9B
- 364D84
- 2C3F6E
- 223158
- 182443
- 0F182F
- 060D1D
- 02040C
- 000001
Tones
- 516DAE
- 566FAA
- 5C72A5
- 6174A0
- 66769B
- 6B7996
- 707B91
- 767C8B
- 7B7E86
Color harmonies
Complementary +180°
- 4C6AB3
Starstruck
- 8A6800
≈ Muddy Brown
Analogous -30° +30°
- 4C6AB3
Starstruck
- 0076A7
≈ Summer Lake
- 745DAB
≈ Genestealer Purple
Triadic +120° +240°
- 4C6AB3
Starstruck
- A84E48
≈ Persimmon Red
- 387F40
≈ Hills of Ireland
Split-complementary +150° +210°
- 4C6AB3
Starstruck
- A15819
≈ Bright Bronze
- 6B7507
≈ Spinach Soup
Tetradic +90° +180° +270°
- 4C6AB3
Starstruck
- A24D70
≈ Ancient Fuchsia
- 8A6800
≈ Muddy Brown
- 00806B
≈ Emperor’s Silk
Contrast & accessibility
Ag
AAOn white
WCAG 5.22:1 · APCA Lc 76
Ag
FailOn black
WCAG 4.01:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.22:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--starstruck: #4c6ab3;
--starstruck-rgb: 76 106 179;
--starstruck-oklch: oklch(0.536 0.12 265.7);
}
.element {
color: var(--starstruck);
background-color: hsl(223 40% 50%);
border-color: oklch(0.536 0.12 265.7);
}Tailwind CSS v4
@theme {
--color-starstruck: #4c6ab3;
--color-starstruck-50: #e6f5ff;
--color-starstruck-100: #d6e7ff;
--color-starstruck-200: #bed3ff;
--color-starstruck-300: #9db6f6;
--color-starstruck-400: #7d9ce6;
--color-starstruck-500: #6082d5;
--color-starstruck-600: #516fb4;
--color-starstruck-700: #415891;
--color-starstruck-800: #2c416c;
--color-starstruck-900: #1e2d4c;
--color-starstruck-950: #0e1a32;
}SCSS
$starstruck: #4c6ab3;
$starstruck-rgb: 76, 106, 179;
$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);
}