Nearest named color · #505F88
#505F88
Nearest named color: Wizard
#505F88 (rgb(80 95 136), hsl(224 26% 42%), oklch(0.49 0.069 268.4)) is closest to the named color Wizard. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#505F88
oklch(0.49 0.069 268.4)
Color conversions
- HEX
- #505f88
- RGB
- rgb(80 95 136)
- HSL
- hsl(224 26% 42%)
- HWB
- hwb(224 31% 47%)
- OKLCH
- oklch(0.49 0.069 268.4)
- OKLab
- oklab(0.49 -0.002 -0.069)
- CIE Lab
- lab(40.38 2.59 -24.96)
- LCH
- lch(40.38 25.09 275.9)
- CMYK
- cmyk(41% 30% 0% 47%)
Tints · Shades · Tones
Tints
- 606E94
- 707D9F
- 818DAB
- 929CB7
- A3ACC3
- B5BCCF
- C7CDDB
- D9DDE7
- ECEEF3
Shades
- 445275
- 394463
- 2E3852
- 242C41
- 1A2031
- 101522
- 070A13
- 020306
- 000001
Tones
- 556287
- 596687
- 5E6986
- 636D86
- 687085
- 6C7384
- 717683
- 767A82
- 7B7D81
Color harmonies
Complementary +180°
- 505F88
Wizard
- 715E30
≈ Moss Brown
Analogous -30° +30°
- 505F88
Wizard
- 396683
≈ Naval Passage
- 655883
≈ Berry Jam
Triadic +120° +240°
- 505F88
Wizard
- 83514A
≈ Beauty Patch
- 446B4A
≈ Nordic Pine
Split-complementary +150° +210°
- 505F88
Wizard
- 7E5738
≈ Château Mantle
- 5D6638
≈ Marsh Mix
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 6.29:1 · APCA Lc 81
Ag
FailOn black
WCAG 3.33:1 · APCA Lc 21
Best text color: #FFFFFF
WCAG 6.29:1 (AA) · APCA Lc 81
Contrast pairs
Code snippets
CSS
:root {
--wizard: #505f88;
--wizard-rgb: 80 95 136;
--wizard-oklch: oklch(0.49 0.069 268.4);
}
.element {
color: var(--wizard);
background-color: hsl(224 26% 42%);
border-color: oklch(0.49 0.069 268.4);
}Tailwind CSS v4
@theme {
--color-wizard: #505f88;
--color-wizard-50: #edf5ff;
--color-wizard-100: #dfe7ff;
--color-wizard-200: #c9d3f3;
--color-wizard-300: #aab6db;
--color-wizard-400: #8d9dc8;
--color-wizard-500: #7385b4;
--color-wizard-600: #617098;
--color-wizard-700: #4e5a7a;
--color-wizard-800: #37425b;
--color-wizard-900: #262d3f;
--color-wizard-950: #141a28;
}SCSS
$wizard: #505f88;
$wizard-rgb: 80, 95, 136;
$wizard-light: mix(#fff, $wizard, 20%);
$wizard-dark: mix(#000, $wizard, 20%);
.element {
color: $wizard;
box-shadow: 0 0 0 2px rgba($wizard, 0.35);
}