Nearest named color · #170453
#170453
Nearest named color: Ravenclaw
#170453 (rgb(23 4 83), hsl(254 91% 17%), oklch(0.223 0.127 280.4)) is closest to the named color Ravenclaw. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#170453
oklch(0.223 0.127 280.4)
Color conversions
- HEX
- #170453
- RGB
- rgb(23 4 83)
- HSL
- hsl(254 91% 17%)
- HWB
- hwb(254 2% 67%)
- OKLCH
- oklch(0.223 0.127 280.4)
- OKLab
- oklab(0.223 0.023 -0.124)
- CIE Lab
- lab(7.24 28.86 -44.32)
- LCH
- lch(7.24 52.89 303.1)
- CMYK
- cmyk(72% 95% 0% 67%)
Tints · Shades · Tones
Tints
- 262164
- 393976
- 4E5087
- 646898
- 7C80A9
- 9598BB
- AEB1CC
- C8CBDD
- E3E5EE
Shades
- 120347
- 0E023B
- 0A0130
- 060125
- 04011B
- 020011
- 010008
- 000002
- 000000
Tones
- 1E1659
- 26235E
- 2F3063
- 393B68
- 44476D
- 4F5271
- 5B5D75
- 676979
- 73747D
Color harmonies
Complementary +180°
- 170453
Ravenclaw
- 201C00
≈ Liquorice Root
Analogous -30° +30°
- 170453
Ravenclaw
- 001C37
≈ Naval Night
- 2B0041
≈ Midnight Purple
Triadic +120° +240°
- 170453
Ravenclaw
- 340C00
≈ Chocolate Melange
- 002213
≈ Clock Chimes Thirteen
Split-complementary +150° +210°
- 170453
Ravenclaw
- 291700
≈ Cannon Black
- 112000
≈ Yuzu Soy
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAAOn white
WCAG 17.81:1 · APCA Lc 104
Ag
FailOn black
WCAG 1.17:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.81:1 (AAA) · APCA Lc 104
Contrast pairs
Code snippets
CSS
:root {
--ravenclaw: #170453;
--ravenclaw-rgb: 23 4 83;
--ravenclaw-oklch: oklch(0.223 0.127 280.4);
}
.element {
color: var(--ravenclaw);
background-color: hsl(254 91% 17%);
border-color: oklch(0.223 0.127 280.4);
}Tailwind CSS v4
@theme {
--color-ravenclaw: #170453;
--color-ravenclaw-50: #eff1ff;
--color-ravenclaw-100: #e1e3ff;
--color-ravenclaw-200: #cbceff;
--color-ravenclaw-300: #adaff7;
--color-ravenclaw-400: #9195e8;
--color-ravenclaw-500: #787ad7;
--color-ravenclaw-600: #6568b6;
--color-ravenclaw-700: #515392;
--color-ravenclaw-800: #393d6d;
--color-ravenclaw-900: #272a4d;
--color-ravenclaw-950: #151733;
}SCSS
$ravenclaw: #170453;
$ravenclaw-rgb: 23, 4, 83;
$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);
}