Cor nomeada mais próxima · #170552
#170552
Cor nomeada mais próxima: Ravenclaw
#170552 (rgb(23 5 82), hsl(254 89% 17%), oklch(0.223 0.124 280.5)) é mais próxima da cor nomeada Ravenclaw. Veja tons claros, sombras, harmonias, contraste WCAG e APCA e código CSS, Tailwind v4 e SCSS.
#170552
oklch(0.223 0.124 280.5)
Conversões de cor
- HEX
- #170552
- RGB
- rgb(23 5 82)
- HSL
- hsl(254 89% 17%)
- HWB
- hwb(254 2% 68%)
- OKLCH
- oklch(0.223 0.124 280.5)
- OKLab
- oklab(0.223 0.023 -0.122)
- CIE Lab
- lab(7.33 28.03 -43.5)
- LCH
- lch(7.33 51.75 302.8)
- CMYK
- cmyk(72% 94% 0% 68%)
Tons claros · Sombras · Tons
Tons claros
- 272264
- 393975
- 4E5086
- 656898
- 7C80A9
- 9598BA
- AEB1CB
- C8CBDC
- E3E5EE
Sombras
- 120446
- 0E033B
- 0A022F
- 060125
- 04011A
- 020011
- 010008
- 000002
- 000000
Tons
- 1E1658
- 26245D
- 303062
- 3A3B67
- 44476C
- 505270
- 5B5D75
- 676979
- 73747C
Harmonias de cor
Complementar +180°
- 170552
Ravenclaw
- 201C00
≈ Liquorice Root
Análoga -30° +30°
- 170552
Ravenclaw
- 001C38
≈ Naval Night
- 2B0040
≈ Midnight Purple
Tríade +120° +240°
- 170552
Ravenclaw
- 340C00
≈ Chocolate Melange
- 002213
≈ Clock Chimes Thirteen
Complementar dividida +150° +210°
- 170552
Ravenclaw
- 291700
≈ Cannon Black
- 112000
≈ Yuzu Soy
Tétrade +90° +180° +270°
Contraste e acessibilidade
Ag
AAASobre branco
WCAG 17.79:1 · APCA Lc 104
Ag
FailSobre preto
WCAG 1.17:1 · APCA Lc 0
Melhor cor de texto: #FFFFFF
WCAG 17.79:1 (AAA) · APCA Lc 104
Contrast pairs
Trechos de código
CSS
:root {
--ravenclaw: #170552;
--ravenclaw-rgb: 23 5 82;
--ravenclaw-oklch: oklch(0.223 0.124 280.5);
}
.element {
color: var(--ravenclaw);
background-color: hsl(254 89% 17%);
border-color: oklch(0.223 0.124 280.5);
}Tailwind CSS v4
@theme {
--color-ravenclaw: #170552;
--color-ravenclaw-50: #eff2ff;
--color-ravenclaw-100: #e1e4ff;
--color-ravenclaw-200: #ccceff;
--color-ravenclaw-300: #adb0f6;
--color-ravenclaw-400: #9195e6;
--color-ravenclaw-500: #787ad6;
--color-ravenclaw-600: #6668b5;
--color-ravenclaw-700: #515391;
--color-ravenclaw-800: #393d6c;
--color-ravenclaw-900: #272a4c;
--color-ravenclaw-950: #151732;
}SCSS
$ravenclaw: #170552;
$ravenclaw-rgb: 23, 5, 82;
$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);
}