Cor nomeada mais próxima · #0C0558
#0C0558
Cor nomeada mais próxima: Ravenclaw
#0C0558 (rgb(12 5 88), hsl(245 89% 18%), oklch(0.222 0.135 271.1)) é mais próxima da cor nomeada Ravenclaw. Veja tons claros, sombras, harmonias, contraste WCAG e APCA e código CSS, Tailwind v4 e SCSS.
#0C0558
oklch(0.222 0.135 271.1)
Conversões de cor
- HEX
- #0c0558
- RGB
- rgb(12 5 88)
- HSL
- hsl(245 89% 18%)
- HWB
- hwb(245 2% 65%)
- OKLCH
- oklch(0.222 0.135 271.1)
- OKLab
- oklab(0.222 0.003 -0.135)
- CIE Lab
- lab(7.07 28.51 -48.06)
- LCH
- lch(7.07 55.88 300.7)
- CMYK
- cmyk(86% 94% 0% 65%)
Tons claros · Sombras · Tons
Tons claros
- 1A2369
- 2E3B7A
- 44538B
- 5B6A9C
- 7482AD
- 8E9ABD
- A9B2CE
- C5CBDE
- E2E5EF
Sombras
- 09044B
- 06033F
- 040233
- 030128
- 02011D
- 010012
- 000009
- 000003
- 000000
Tons
- 12185D
- 1B2562
- 263167
- 313D6B
- 3D486F
- 4A5373
- 575F77
- 646A7A
- 72757D
Harmonias de cor
Complementar +180°
- 0C0558
Ravenclaw
- 231A00
≈ Cannon Black
Análoga -30° +30°
- 0C0558
Ravenclaw
- 001D31
≈ Cyanophobia
- 260047
≈ Your Darkness
Tríade +120° +240°
- 0C0558
Ravenclaw
- 3A0300
≈ Biltong
- 00230C
≈ Clock Chimes Thirteen
Complementar dividida +150° +210°
- 0C0558
Ravenclaw
- 2C1400
≈ Shadow Play
- 181F00
≈ Yuzu Soy
Tétrade +90° +180° +270°
Contraste e acessibilidade
Ag
AAASobre branco
WCAG 17.82:1 · APCA Lc 104
Ag
FailSobre preto
WCAG 1.17:1 · APCA Lc 0
Melhor cor de texto: #FFFFFF
WCAG 17.82:1 (AAA) · APCA Lc 104
Contrast pairs
Trechos de código
CSS
:root {
--ravenclaw: #0c0558;
--ravenclaw-rgb: 12 5 88;
--ravenclaw-oklch: oklch(0.222 0.135 271.1);
}
.element {
color: var(--ravenclaw);
background-color: hsl(245 89% 18%);
border-color: oklch(0.222 0.135 271.1);
}Tailwind CSS v4
@theme {
--color-ravenclaw: #0c0558;
--color-ravenclaw-50: #e8f3ff;
--color-ravenclaw-100: #d9e6ff;
--color-ravenclaw-200: #c1d1ff;
--color-ravenclaw-300: #a1b3fd;
--color-ravenclaw-400: #8199ee;
--color-ravenclaw-500: #667edf;
--color-ravenclaw-600: #576bbc;
--color-ravenclaw-700: #455597;
--color-ravenclaw-800: #2f3f71;
--color-ravenclaw-900: #202b4f;
--color-ravenclaw-950: #101835;
}SCSS
$ravenclaw: #0c0558;
$ravenclaw-rgb: 12, 5, 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);
}