Cor nomeada mais próxima · #020957
#020957
Cor nomeada mais próxima: Ravenclaw
#020957 (rgb(2 9 87), hsl(235 96% 17%), oklch(0.221 0.133 265.3)) é mais próxima da cor nomeada Ravenclaw. Veja tons claros, sombras, harmonias, contraste WCAG e APCA e código CSS, Tailwind v4 e SCSS.
#020957
oklch(0.221 0.133 265.3)
Conversões de cor
- HEX
- #020957
- RGB
- rgb(2 9 87)
- HSL
- hsl(235 96% 17%)
- HWB
- hwb(235 1% 66%)
- OKLCH
- oklch(0.221 0.133 265.3)
- OKLab
- oklab(0.221 -0.011 -0.133)
- CIE Lab
- lab(7.11 25.07 -47.33)
- LCH
- lch(7.11 53.56 297.9)
- CMYK
- cmyk(98% 90% 0% 66%)
Tons claros · Sombras · Tons
Tons claros
- 0F2668
- 253D79
- 3D548A
- 566B9B
- 7083AC
- 8B9BBD
- A7B3CD
- C3CCDE
- E1E5EE
Sombras
- 01074B
- 01053E
- 010333
- 000227
- 00011C
- 000112
- 000008
- 000003
- 000000
Tons
- 071A5C
- 122761
- 1F3366
- 2C3E6B
- 39496F
- 465473
- 545F77
- 636A7A
- 71757D
Harmonias de cor
Complementar +180°
- 020957
Ravenclaw
- 241900
≈ Cannon Black
Análoga -30° +30°
- 020957
Ravenclaw
- 001E2D
≈ Cyanophobia
- 22004B
≈ Your Darkness
Tríade +120° +240°
- 020957
Ravenclaw
- 3B0003
≈ Dark Maroon
- 002204
≈ Rainforest Nights
Complementar dividida +150° +210°
- 020957
Ravenclaw
- 2D1200
≈ Shadow Play
- 1A1D00
≈ 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: #020957;
--ravenclaw-rgb: 2 9 87;
--ravenclaw-oklch: oklch(0.221 0.133 265.3);
}
.element {
color: var(--ravenclaw);
background-color: hsl(235 96% 17%);
border-color: oklch(0.221 0.133 265.3);
}Tailwind CSS v4
@theme {
--color-ravenclaw: #020957;
--color-ravenclaw-50: #e4f5ff;
--color-ravenclaw-100: #d4e7ff;
--color-ravenclaw-200: #bbd3ff;
--color-ravenclaw-300: #99b5fc;
--color-ravenclaw-400: #789ced;
--color-ravenclaw-500: #5b81de;
--color-ravenclaw-600: #4d6ebb;
--color-ravenclaw-700: #3d5896;
--color-ravenclaw-800: #294170;
--color-ravenclaw-900: #1c2d4f;
--color-ravenclaw-950: #0c1935;
}SCSS
$ravenclaw: #020957;
$ravenclaw-rgb: 2, 9, 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);
}