Nearest named color · #595BA2
#595BA2
Nearest named color: Wizard’s Potion
#595BA2 (rgb(89 91 162), hsl(238 29% 49%), oklch(0.503 0.111 280.4)) is closest to the named color Wizard’s Potion. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#595BA2
oklch(0.503 0.111 280.4)
Color conversions
- HEX
- #595ba2
- RGB
- rgb(89 91 162)
- HSL
- hsl(238 29% 49%)
- HWB
- hwb(238 35% 36%)
- OKLCH
- oklch(0.503 0.111 280.4)
- OKLab
- oklab(0.503 0.02 -0.11)
- CIE Lab
- lab(41.08 13.95 -39.34)
- LCH
- lch(41.08 41.74 289.5)
- CMYK
- cmyk(45% 44% 0% 36%)
Tints · Shades · Tones
Tints
- 686BAC
- 777BB6
- 868BBF
- 979BC9
- A7ABD2
- B8BCDB
- C9CCE4
- DBDDED
- EDEEF6
Shades
- 4C4E8C
- 404177
- 343563
- 28294F
- 1D1E3C
- 13132A
- 090919
- 03030A
- 000001
Tones
- 5C5F9F
- 60639C
- 646799
- 686B96
- 6B6F92
- 6F728F
- 73768C
- 787988
- 7C7D84
Color harmonies
Complementary +180°
- 595BA2
Wizard’s Potion
- 726500
≈ Spicy Mustard
Analogous -30° +30°
- 595BA2
Wizard’s Potion
- 2B67A1
≈ Distant Blue
- 785093
≈ Juneberry
Triadic +120° +240°
- 595BA2
Wizard’s Potion
- 984B2F
≈ Spicy Hue
- 06774E
≈ Gnarls Green
Split-complementary +150° +210°
- 595BA2
Wizard’s Potion
- 8B5700
≈ Spear Shaft
- 4E7024
≈ Loren Forest
Tetradic +90° +180° +270°
- 595BA2
Wizard’s Potion
- 984655
≈ Haitian Flower
- 726500
≈ Spicy Mustard
- 00746F
≈ Reef
Contrast & accessibility
Ag
AAOn white
WCAG 6.09:1 · APCA Lc 80
Ag
FailOn black
WCAG 3.44:1 · APCA Lc 22
Best text color: #FFFFFF
WCAG 6.09:1 (AA) · APCA Lc 80
Contrast pairs
Code snippets
CSS
:root {
--wizard-s-potion: #595ba2;
--wizard-s-potion-rgb: 89 91 162;
--wizard-s-potion-oklch: oklch(0.503 0.111 280.4);
}
.element {
color: var(--wizard-s-potion);
background-color: hsl(238 29% 49%);
border-color: oklch(0.503 0.111 280.4);
}Tailwind CSS v4
@theme {
--color-wizard-s-potion: #595ba2;
--color-wizard-s-potion-50: #f0f2ff;
--color-wizard-s-potion-100: #e1e4ff;
--color-wizard-s-potion-200: #cccfff;
--color-wizard-s-potion-300: #aeb1ef;
--color-wizard-s-potion-400: #9297df;
--color-wizard-s-potion-500: #797cce;
--color-wizard-s-potion-600: #6669ae;
--color-wizard-s-potion-700: #52548c;
--color-wizard-s-potion-800: #3a3e68;
--color-wizard-s-potion-900: #282a49;
--color-wizard-s-potion-950: #161830;
}SCSS
$wizard-s-potion: #595ba2;
$wizard-s-potion-rgb: 89, 91, 162;
$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);
}