Nearest named color · #14005A
#14005A
Nearest named color: Ravenclaw
#14005A (rgb(20 0 90), hsl(253 100% 18%), oklch(0.225 0.139 276.6)) is closest to the named color Ravenclaw. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#14005A
oklch(0.225 0.139 276.6)
Color conversions
- HEX
- #14005a
- RGB
- rgb(20 0 90)
- HSL
- hsl(253 100% 18%)
- HWB
- hwb(253 0% 65%)
- OKLCH
- oklch(0.225 0.139 276.6)
- OKLab
- oklab(0.225 0.016 -0.138)
- CIE Lab
- lab(7 32.68 -49.5)
- LCH
- lch(7 59.32 303.4)
- CMYK
- cmyk(78% 100% 0% 65%)
Tints · Shades · Tones
Tints
- 22216B
- 35397C
- 4A518D
- 60689D
- 7980AE
- 9299BE
- ACB2CF
- C7CBDF
- E3E5EF
Shades
- 10004D
- 0C0041
- 080035
- 050029
- 03001E
- 010013
- 010009
- 000003
- 000000
Tones
- 1A145F
- 222364
- 2B3068
- 363C6D
- 414771
- 4D5374
- 595E78
- 66697B
- 73757E
Color harmonies
Complementary +180°
- 14005A
Ravenclaw
- 221B00
≈ Cannon Black
Analogous -30° +30°
- 14005A
Ravenclaw
- 001D35
≈ Cyanophobia
- 2A0044
≈ Your Darkness
Triadic +120° +240°
- 14005A
Ravenclaw
- 370900
≈ Red Bean
- 002311
≈ Clock Chimes Thirteen
Split-complementary +150° +210°
- 14005A
Ravenclaw
- 2B1600
≈ Shadow Play
- 152000
≈ Yuzu Soy
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAAOn white
WCAG 17.83:1 · APCA Lc 103
Ag
FailOn black
WCAG 1.17:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.83:1 (AAA) · APCA Lc 103
Contrast pairs
Code snippets
CSS
:root {
--ravenclaw: #14005a;
--ravenclaw-rgb: 20 0 90;
--ravenclaw-oklch: oklch(0.225 0.139 276.6);
}
.element {
color: var(--ravenclaw);
background-color: hsl(253 100% 18%);
border-color: oklch(0.225 0.139 276.6);
}Tailwind CSS v4
@theme {
--color-ravenclaw: #14005a;
--color-ravenclaw-50: #ecf2ff;
--color-ravenclaw-100: #dde4ff;
--color-ravenclaw-200: #c6cfff;
--color-ravenclaw-300: #a7b0fe;
--color-ravenclaw-400: #8996f0;
--color-ravenclaw-500: #707ae1;
--color-ravenclaw-600: #5f68bd;
--color-ravenclaw-700: #4b5398;
--color-ravenclaw-800: #353d72;
--color-ravenclaw-900: #242a50;
--color-ravenclaw-950: #131736;
}SCSS
$ravenclaw: #14005a;
$ravenclaw-rgb: 20, 0, 90;
$ravenclaw-light: mix(#fff, $ravenclaw, 20%);
$ravenclaw-dark: mix(#000, $ravenclaw, 20%);
.element {
color: $ravenclaw;
box-shadow: 0 0 0 2px rgba($ravenclaw, 0.35);
}