Cor nomeada mais próxima · #150652
#150652
Cor nomeada mais próxima: Ravenclaw
#150652 (rgb(21 6 82), hsl(252 86% 17%), oklch(0.222 0.124 278.6)) é mais próxima da cor nomeada Ravenclaw. Veja tons claros, sombras, harmonias, contraste WCAG e APCA e código CSS, Tailwind v4 e SCSS.
#150652
oklch(0.222 0.124 278.6)
Conversões de cor
- HEX
- #150652
- RGB
- rgb(21 6 82)
- HSL
- hsl(252 86% 17%)
- HWB
- hwb(252 2% 68%)
- OKLCH
- oklch(0.222 0.124 278.6)
- OKLab
- oklab(0.222 0.019 -0.122)
- CIE Lab
- lab(7.31 27.18 -43.54)
- LCH
- lch(7.31 51.33 302)
- CMYK
- cmyk(74% 93% 0% 68%)
Tons claros · Sombras · Tons
Tons claros
- 242264
- 373A75
- 4C5186
- 636898
- 7B80A9
- 9498BA
- ADB1CB
- C8CBDC
- E3E5EE
Sombras
- 110446
- 0C033B
- 08022F
- 050125
- 03011A
- 020011
- 010008
- 000002
- 000000
Tons
- 1C1758
- 24245D
- 2E3062
- 383C67
- 43476C
- 4F5270
- 5A5E75
- 676979
- 73747C
Harmonias de cor
Complementar +180°
- 150652
Ravenclaw
- 211B00
≈ Cannon Black
Análoga -30° +30°
- 150652
Ravenclaw
- 001C36
≈ Naval Night
- 2A0042
≈ Your Darkness
Tríade +120° +240°
- 150652
Ravenclaw
- 350B00
≈ Chocolate Melange
- 002212
≈ Clock Chimes Thirteen
Complementar dividida +150° +210°
- 150652
Ravenclaw
- 2A1600
≈ Shadow Play
- 132000
≈ Yuzu Soy
Tétrade +90° +180° +270°
Contraste e acessibilidade
Ag
AAASobre branco
WCAG 17.80:1 · APCA Lc 104
Ag
FailSobre preto
WCAG 1.17:1 · APCA Lc 0
Melhor cor de texto: #FFFFFF
WCAG 17.80:1 (AAA) · APCA Lc 104
Contrast pairs
Trechos de código
CSS
:root {
--ravenclaw: #150652;
--ravenclaw-rgb: 21 6 82;
--ravenclaw-oklch: oklch(0.222 0.124 278.6);
}
.element {
color: var(--ravenclaw);
background-color: hsl(252 86% 17%);
border-color: oklch(0.222 0.124 278.6);
}Tailwind CSS v4
@theme {
--color-ravenclaw: #150652;
--color-ravenclaw-50: #eef2ff;
--color-ravenclaw-100: #dfe4ff;
--color-ravenclaw-200: #cacfff;
--color-ravenclaw-300: #abb0f6;
--color-ravenclaw-400: #8e96e6;
--color-ravenclaw-500: #757bd6;
--color-ravenclaw-600: #6369b5;
--color-ravenclaw-700: #4f5491;
--color-ravenclaw-800: #383d6d;
--color-ravenclaw-900: #262a4c;
--color-ravenclaw-950: #151733;
}SCSS
$ravenclaw: #150652;
$ravenclaw-rgb: 21, 6, 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);
}