Nearest named color · #170058
#170058
Nearest named color: Ravenclaw
#170058 (rgb(23 0 88), hsl(256 100% 17%), oklch(0.225 0.136 279.5)) is closest to the named color Ravenclaw. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#170058
oklch(0.225 0.136 279.5)
Color conversions
- HEX
- #170058
- RGB
- rgb(23 0 88)
- HSL
- hsl(256 100% 17%)
- HWB
- hwb(256 0% 65%)
- OKLCH
- oklch(0.225 0.136 279.5)
- OKLab
- oklab(0.225 0.023 -0.134)
- CIE Lab
- lab(7.07 32.47 -48.03)
- LCH
- lch(7.07 57.98 304.1)
- CMYK
- cmyk(74% 100% 0% 65%)
Tints · Shades · Tones
Tints
- 262069
- 38397A
- 4D508B
- 63689C
- 7B80AD
- 9498BD
- ADB1CE
- C8CBDE
- E3E5EF
Shades
- 12004B
- 0E003F
- 0A0033
- 060028
- 04001D
- 020012
- 010009
- 000003
- 000000
Tones
- 1D145D
- 252262
- 2E2F67
- 393B6B
- 43476F
- 4F5273
- 5A5D77
- 67697A
- 73747D
Color harmonies
Complementary +180°
- 170058
Ravenclaw
- 211C00
≈ Liquorice Root
Analogous -30° +30°
- 170058
Ravenclaw
- 001C37
≈ Naval Night
- 2B0042
≈ Edge of Space
Triadic +120° +240°
- 170058
Ravenclaw
- 350C00
≈ Chocolate Melange
- 002313
≈ Clock Chimes Thirteen
Split-complementary +150° +210°
- 170058
Ravenclaw
- 2A1700
≈ Cannon Black
- 122100
≈ 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: #170058;
--ravenclaw-rgb: 23 0 88;
--ravenclaw-oklch: oklch(0.225 0.136 279.5);
}
.element {
color: var(--ravenclaw);
background-color: hsl(256 100% 17%);
border-color: oklch(0.225 0.136 279.5);
}Tailwind CSS v4
@theme {
--color-ravenclaw: #170058;
--color-ravenclaw-50: #eef1ff;
--color-ravenclaw-100: #dfe3ff;
--color-ravenclaw-200: #caceff;
--color-ravenclaw-300: #abaffc;
--color-ravenclaw-400: #8e94ed;
--color-ravenclaw-500: #7579de;
--color-ravenclaw-600: #6367bb;
--color-ravenclaw-700: #4f5296;
--color-ravenclaw-800: #383c71;
--color-ravenclaw-900: #26294f;
--color-ravenclaw-950: #151735;
}SCSS
$ravenclaw: #170058;
$ravenclaw-rgb: 23, 0, 88;
$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);
}