Cor nomeada mais próxima · #040857
#040857
Cor nomeada mais próxima: Ravenclaw
#040857 (rgb(4 8 87), hsl(237 91% 18%), oklch(0.221 0.133 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.
#040857
oklch(0.221 0.133 266.5)
Conversões de cor
- HEX
- #040857
- RGB
- rgb(4 8 87)
- HSL
- hsl(237 91% 18%)
- HWB
- hwb(237 2% 66%)
- OKLCH
- oklch(0.221 0.133 266.5)
- OKLab
- oklab(0.221 -0.008 -0.133)
- CIE Lab
- lab(7.04 25.8 -47.45)
- LCH
- lch(7.04 54.01 298.5)
- CMYK
- cmyk(95% 91% 0% 66%)
Tons claros · Sombras · Tons
Tons claros
- 122568
- 273D79
- 3E548A
- 576B9B
- 7183AC
- 8C9BBD
- A7B3CD
- C4CCDE
- E1E5EE
Sombras
- 03064B
- 02043E
- 010333
- 010227
- 00011C
- 000112
- 000008
- 000003
- 000000
Tons
- 0A195C
- 142761
- 203366
- 2D3E6B
- 3A496F
- 475473
- 555F77
- 636A7A
- 71757D
Harmonias de cor
Complementar +180°
- 040857
Ravenclaw
- 241900
≈ Cannon Black
Análoga -30° +30°
- 040857
Ravenclaw
- 001E2E
≈ Cyanophobia
- 23004A
≈ Your Darkness
Tríade +120° +240°
- 040857
Ravenclaw
- 3B0002
≈ Dark Maroon
- 002206
≈ Rainforest Nights
Complementar dividida +150° +210°
- 040857
Ravenclaw
- 2D1300
≈ Shadow Play
- 191D00
≈ Yuzu Soy
Tétrade +90° +180° +270°
Contraste e acessibilidade
Ag
AAASobre branco
WCAG 17.83:1 · APCA Lc 104
Ag
FailSobre preto
WCAG 1.17:1 · APCA Lc 0
Melhor cor de texto: #FFFFFF
WCAG 17.83:1 (AAA) · APCA Lc 104
Contrast pairs
Trechos de código
CSS
:root {
--ravenclaw: #040857;
--ravenclaw-rgb: 4 8 87;
--ravenclaw-oklch: oklch(0.221 0.133 266.5);
}
.element {
color: var(--ravenclaw);
background-color: hsl(237 91% 18%);
border-color: oklch(0.221 0.133 266.5);
}Tailwind CSS v4
@theme {
--color-ravenclaw: #040857;
--color-ravenclaw-50: #e5f5ff;
--color-ravenclaw-100: #d5e7ff;
--color-ravenclaw-200: #bcd3ff;
--color-ravenclaw-300: #9bb5fc;
--color-ravenclaw-400: #7a9bed;
--color-ravenclaw-500: #5d81de;
--color-ravenclaw-600: #4f6dbb;
--color-ravenclaw-700: #3f5797;
--color-ravenclaw-800: #2b4070;
--color-ravenclaw-900: #1d2c4f;
--color-ravenclaw-950: #0d1935;
}SCSS
$ravenclaw: #040857;
$ravenclaw-rgb: 4, 8, 87;
$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);
}