Cor nomeada mais próxima · #040858
#040858
Cor nomeada mais próxima: Ravenclaw
#040858 (rgb(4 8 88), hsl(237 91% 18%), oklch(0.222 0.135 266.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.
#040858
oklch(0.222 0.135 266.5)
Conversões de cor
- HEX
- #040858
- RGB
- rgb(4 8 88)
- HSL
- hsl(237 91% 18%)
- HWB
- hwb(237 2% 65%)
- OKLCH
- oklch(0.222 0.135 266.5)
- OKLab
- oklab(0.222 -0.008 -0.134)
- CIE Lab
- lab(7.16 26.16 -47.92)
- LCH
- lch(7.16 54.6 298.6)
- CMYK
- cmyk(95% 91% 0% 65%)
Tons claros · Sombras · Tons
Tons claros
- 122569
- 273D7A
- 3E548B
- 576B9C
- 7183AD
- 8C9BBD
- A7B3CE
- C4CCDE
- E1E5EF
Sombras
- 03064B
- 02043F
- 010333
- 010228
- 00011D
- 000112
- 000009
- 000003
- 000000
Tons
- 0A1A5D
- 142762
- 203367
- 2D3E6B
- 3A496F
- 475473
- 555F77
- 636A7A
- 71757D
Harmonias de cor
Complementar +180°
- 040858
Ravenclaw
- 241900
≈ Cannon Black
Análoga -30° +30°
- 040858
Ravenclaw
- 001E2E
≈ Cyanophobia
- 23004B
≈ Your Darkness
Tríade +120° +240°
- 040858
Ravenclaw
- 3B0002
≈ Dark Maroon
- 002306
≈ Rainforest Nights
Complementar dividida +150° +210°
- 040858
Ravenclaw
- 2D1300
≈ Shadow Play
- 1A1E00
≈ Yuzu Soy
Tétrade +90° +180° +270°
Contraste e acessibilidade
Ag
AAASobre branco
WCAG 17.78:1 · APCA Lc 104
Ag
FailSobre preto
WCAG 1.18:1 · APCA Lc 0
Melhor cor de texto: #FFFFFF
WCAG 17.78:1 (AAA) · APCA Lc 104
Contrast pairs
Trechos de código
CSS
:root {
--ravenclaw: #040858;
--ravenclaw-rgb: 4 8 88;
--ravenclaw-oklch: oklch(0.222 0.135 266.5);
}
.element {
color: var(--ravenclaw);
background-color: hsl(237 91% 18%);
border-color: oklch(0.222 0.135 266.5);
}Tailwind CSS v4
@theme {
--color-ravenclaw: #040858;
--color-ravenclaw-50: #e5f5ff;
--color-ravenclaw-100: #d5e7ff;
--color-ravenclaw-200: #bcd3ff;
--color-ravenclaw-300: #9ab5fd;
--color-ravenclaw-400: #7a9bee;
--color-ravenclaw-500: #5d81df;
--color-ravenclaw-600: #4f6dbc;
--color-ravenclaw-700: #3f5797;
--color-ravenclaw-800: #2b4071;
--color-ravenclaw-900: #1d2c4f;
--color-ravenclaw-950: #0d1935;
}SCSS
$ravenclaw: #040858;
$ravenclaw-rgb: 4, 8, 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);
}