Nearest named color · #66679C
#66679C
Nearest named color: Wizard’s Potion
#66679C (rgb(102 103 156), hsl(239 21% 51%), oklch(0.535 0.083 282.4)) is closest to the named color Wizard’s Potion. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#66679C
oklch(0.535 0.083 282.4)
Color conversions
- HEX
- #66679c
- RGB
- rgb(102 103 156)
- HSL
- hsl(239 21% 51%)
- HWB
- hwb(239 40% 39%)
- OKLCH
- oklch(0.535 0.083 282.4)
- OKLab
- oklab(0.535 0.018 -0.081)
- CIE Lab
- lab(45.21 9.6 -29.22)
- LCH
- lch(45.21 30.76 288.2)
- CMYK
- cmyk(35% 34% 0% 39%)
Tints · Shades · Tones
Tints
- 7475A6
- 8284B0
- 9193BA
- A0A2C4
- AFB1CE
- BEC0D8
- CED0E1
- DEDFEB
- EEEFF5
Shades
- 585987
- 4A4B73
- 3C3D5F
- 2F304C
- 232339
- 171728
- 0C0C18
- 040409
- 000001
Tones
- 686A99
- 6B6C97
- 6D6F94
- 707292
- 73748F
- 75778C
- 787989
- 7A7B86
- 7D7E83
Color harmonies
Complementary +180°
- 66679C
Wizard’s Potion
- 776F32
≈ Garden Weed
Analogous -30° +30°
- 66679C
Wizard’s Potion
- 49709C
≈ Cobalt Flame
- 7E5F90
≈ Plum Power
Triadic +120° +240°
- 66679C
Wizard’s Potion
- 965D46
≈ Cinnamon Spice
- 3B7C5F
≈ Liquid Green Stuff
Split-complementary +150° +210°
- 66679C
Wizard’s Potion
- 8B6533
≈ Beagle Brown
- 5B7844
≈ Jolly Green
Tetradic +90° +180° +270°
- 66679C
Wizard’s Potion
- 975960
≈ Ruby Crystal
- 776F32
≈ Garden Weed
- 207C7A
≈ Zirconia Teal
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 {
--wizard-s-potion: #66679c;
--wizard-s-potion-rgb: 102 103 156;
--wizard-s-potion-oklch: oklch(0.535 0.083 282.4);
}
.element {
color: var(--wizard-s-potion);
background-color: hsl(239 21% 51%);
border-color: oklch(0.535 0.083 282.4);
}Tailwind CSS v4
@theme {
--color-wizard-s-potion: #66679c;
--color-wizard-s-potion-50: #f2f3ff;
--color-wizard-s-potion-100: #e4e5ff;
--color-wizard-s-potion-200: #cfd0f7;
--color-wizard-s-potion-300: #b2b2e1;
--color-wizard-s-potion-400: #9799ce;
--color-wizard-s-potion-500: #7e7fbc;
--color-wizard-s-potion-600: #6a6c9e;
--color-wizard-s-potion-700: #55567f;
--color-wizard-s-potion-800: #3d3f5f;
--color-wizard-s-potion-900: #2a2b42;
--color-wizard-s-potion-950: #17192b;
}SCSS
$wizard-s-potion: #66679c;
$wizard-s-potion-rgb: 102, 103, 156;
$wizard-s-potion-light: mix(#fff, $wizard-s-potion, 20%);
$wizard-s-potion-dark: mix(#000, $wizard-s-potion, 20%);
.element {
color: $wizard-s-potion;
box-shadow: 0 0 0 2px rgba($wizard-s-potion, 0.35);
}