Nearest named color · #4F6AAC
#4F6AAC
Nearest named color: Starstruck
#4F6AAC (rgb(79 106 172), hsl(223 37% 49%), oklch(0.534 0.109 266)) is closest to the named color Starstruck. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#4F6AAC
oklch(0.534 0.109 266)
Color conversions
- HEX
- #4f6aac
- RGB
- rgb(79 106 172)
- HSL
- hsl(223 37% 49%)
- HWB
- hwb(223 31% 33%)
- OKLCH
- oklch(0.534 0.109 266)
- OKLab
- oklab(0.534 -0.008 -0.109)
- CIE Lab
- lab(45.04 4.97 -39.02)
- LCH
- lch(45.04 39.33 277.3)
- CMYK
- cmyk(54% 38% 0% 33%)
Tints · Shades · Tones
Tints
- 5F79B5
- 7087BE
- 8096C6
- 92A4CF
- A3B3D7
- B5C2DF
- C7D1E7
- D9E0EF
- ECF0F7
Shades
- 445B95
- 384D7F
- 2E3F69
- 233154
- 192440
- 10182D
- 070D1B
- 02040B
- 000001
Tones
- 546DA8
- 596FA4
- 5E72A0
- 63749C
- 677697
- 6C7893
- 717A8E
- 767C8A
- 7B7E85
Color harmonies
Complementary +180°
- 4F6AAC
Starstruck
- 896702
≈ Muddy Brown
Analogous -30° +30°
- 4F6AAC
Starstruck
- 1475A3
≈ Summer Lake
- 735EA4
≈ Genestealer Purple
Triadic +120° +240°
- 4F6AAC
Starstruck
- A3514B
≈ BBQ
- 3E7D45
≈ Hills of Ireland
Split-complementary +150° +210°
- 4F6AAC
Starstruck
- 9C5A25
≈ Bright Bronze
- 6A741D
≈ Castelvetrano Olive
Tetradic +90° +180° +270°
- 4F6AAC
Starstruck
- 9D506F
≈ Cherry Berry
- 896702
≈ Muddy Brown
- 007F6B
≈ 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: #4f6aac;
--starstruck-rgb: 79 106 172;
--starstruck-oklch: oklch(0.534 0.109 266);
}
.element {
color: var(--starstruck);
background-color: hsl(223 37% 49%);
border-color: oklch(0.534 0.109 266);
}Tailwind CSS v4
@theme {
--color-starstruck: #4f6aac;
--color-starstruck-50: #e8f5ff;
--color-starstruck-100: #d8e7ff;
--color-starstruck-200: #c0d3ff;
--color-starstruck-300: #9fb6f0;
--color-starstruck-400: #809ddf;
--color-starstruck-500: #6483ce;
--color-starstruck-600: #556fae;
--color-starstruck-700: #44598c;
--color-starstruck-800: #2f4168;
--color-starstruck-900: #202d49;
--color-starstruck-950: #0f1a30;
}SCSS
$starstruck: #4f6aac;
$starstruck-rgb: 79, 106, 172;
$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);
}